Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a 403 on https://api.tripit.com/v1/list/trip?format=json #270

Open
dssinger opened this issue Oct 27, 2021 · 8 comments
Open

Getting a 403 on https://api.tripit.com/v1/list/trip?format=json #270

dssinger opened this issue Oct 27, 2021 · 8 comments

Comments

@dssinger
Copy link

My code started getting a 403 from the TripIt API at around 12:30pm Pacific Time today (October 27) when I try to get the list of trips from TripIt. I have made no changes.

Just to verify what's happening, I downloaded a fresh copy of the API and ran tripitsh. I logged in with my userid and password, then if I issue t.list_trip() I get a 403 error for the same URL.

Thanks.

@Leggatt
Copy link

Leggatt commented Oct 29, 2021

Greetings,

Sorry you experienced this. We are investigating the problem.

Thank you for using Tripit.

@kgutwin
Copy link

kgutwin commented Nov 18, 2021

I have been having this 403 error for quite some time as well. Are there any updates?

I have tried to roll my API access token through the developer console, but I get a "404" response from the web site.

@dssinger
Copy link
Author

I am still having the problem. I asked the Help id to authorize my account for web access just to make sure that wasn't the cause - it wasn't; I still get the 403 whether I log in with my Web credentials or use OAuth.

Do you have any updates?

@VickiWis
Copy link

VickiWis commented Nov 23, 2021 via email

@dssinger
Copy link
Author

45.33.34.52 and 73.223.248.81 - both just failed using OAuth.

@dssinger
Copy link
Author

dssinger commented Dec 8, 2021

Is there any new information on this problem? It's still failing for me.

@dssinger
Copy link
Author

I found out what's going on and applied a fix to my copy of tripit.py, which I'd already modified to work in Python 3.

The server at api.tripit.com was blacklisting requests with a User-Agent of "python-urllib/3.9"
I changed the User-Agent to look like a browser and my code worked again.

@dssinger dssinger reopened this Sep 4, 2024
@dssinger
Copy link
Author

dssinger commented Sep 4, 2024

I have been getting a 403 again for about a week but only from one IP address, 45.33.34.52. The identical code runs fine from my home system.

Could you unblock that address and let me know how to keep it from being blocked? Is there a rate limit on the API?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants