Skip to content

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

Open

Description

@dssinger

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.

Activity

  1. Leggatt commented on Oct 29, 2021

    @Leggatt

    Greetings,

    Sorry you experienced this. We are investigating the problem.

    Thank you for using Tripit.

  2. kgutwin commented on Nov 18, 2021

    @kgutwin

    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.

  3. dssinger commented on Nov 23, 2021

    @dssinger
    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?

  4. VickiWis commented on Nov 23, 2021

    @VickiWis
    Collaborator
  5. dssinger commented on Nov 23, 2021

    @dssinger
    Author

    45.33.34.52 and 73.223.248.81 - both just failed using OAuth.

  6. dssinger commented on Dec 8, 2021

    @dssinger
    Author

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

  7. dssinger commented on Jan 16, 2022

    @dssinger
    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.

  8. dssinger commented on Sep 4, 2024

    @dssinger
    Author

    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.

  9. added a commit that references this issue on Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions