Alan Fuller
Alan Fuller

Reputation: 491

Eventbrite API: The user_id you requested does not exist - with OAuth token

Does anyone know why when requesting /me/owned_events with a valid token you can possibly get "The user_id you requested does not exist".

To me it looks like an issue with the Evenbrite account - but I can find no effective way of raising a support ticket with Eventbrite for the API, so hoping someone has seen this before.

https://www.eventbriteapi.com/v3/users/me/owned_events/?token=XXXXXXXXXXXXXX

{ "status_code": 404, "error_description": "The user_id you requested does not exist.", "error": "NOT_FOUND" }

Upvotes: 6

Views: 2638

Answers (1)

Nathan Tinius
Nathan Tinius

Reputation: 221

The endpoint that you are trying to reach is in the process of being deprecated. You will want to switch to using the newer "organizations" endpoint.

GET /v3/organizations/organization_id/events

This will return all of the events owned by the user/organization.

If you are unsure of how to get the organization id you can find that here. https://www.eventbrite.com/platform/api#/reference/organization/list/list-your-organizations

I hope this helps you move forward! Best!

Upvotes: 8

Related Questions