Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

eventbrite

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" }

like image 317
Alan Fuller Avatar asked Dec 20 '18 09:12

Alan Fuller


1 Answers

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!

like image 164
Nathan Tinius Avatar answered Sep 22 '22 06:09

Nathan Tinius