Esco
Esco

Reputation: 21

Using Expansions in the Eventbrite API

Can someone tell me why the following does not work..??

https://www.eventbriteapi.com/v3/orders/45XXXXX62/?expand=attendees/?token=KXXXXXXXXXXXXXXXXXXX

I get the following error, and only get the error when I use expansions -

{ "status_code": 401, "error_description": "An OAuth token is required for all requests", "error": "NO_AUTH" }

Thanks.

Upvotes: 2

Views: 565

Answers (2)

Jigar Shah
Jigar Shah

Reputation: 175

I think you are putting the URL in the wrong manner.

You should put call API

https://www.eventbriteapi.com/v3/orders/45XXXXX62/?expand=attendees&token=KXXXXXXXXXXXXXXXXXXX

If you are not able to get it write then check your token.

Upvotes: 1

Dana Kock
Dana Kock

Reputation: 61

Are you the Order owner and using your Personal OAuth Token? If not, you'll receive a 401 as only someone with those permissions can access that endpoint.

Upvotes: 0

Related Questions