List events by organizations returns old events

55 views
Skip to first unread message

Kevin Liew

unread,
Aug 27, 2021, 5:46:37 AM8/27/21
to Eventbrite Developers
Hi, I have been playing with the API for hours now, I'm using this to get all my events: https://www.eventbriteapi.com/v3/organizations/320315609909/events/?time_filter=current_future&token=xxx

Somehow, it returns 295 results, 6 pages with events dated 2019-2020 too. From EventBrite, there's only two pages with current and future event. 

Can anyone shed some light into this matter? What do I missed? It returns same result regardless of time_filter exists or not. 

Thanks. 

Kevin Liew

unread,
Aug 27, 2021, 5:51:22 AM8/27/21
to Eventbrite Developers
Okay, I found out the issue right after I posted this... I will just put  the solution here just in case anyone else get into the same issue.

Basically, I have to remove content-type: application;/json from the request header. It sounds like if you have that content-type defined, it will ignore the query parameters and look into the body instead.

nata...@eventbrite.com

unread,
Sep 2, 2021, 6:09:32 PM9/2/21
to Eventbrite Developers
Hi Kevin!

Thank you so much for circling back with this solution - it helped a fellow group member to solve the same issue they were encountering and we really appreciate your insights!

Best,
Natalie

Reply all
Reply to author
Forward
0 new messages