planningcenter / developers

Planning Center API docs and support
https://developer.planning.center/docs/
85 stars 8 forks source link

500 Error on specific org when getting calendar url #1174

Closed pastorhudson closed 6 months ago

pastorhudson commented 6 months ago

Affected Product Which product does this bug affect? Calendar

Describe the bug I am iterating through events on the /calendar/v2/event_instances endpoint and with one church I get a 500 on offset=50.

To Reproduce This url https://api.planningcenteronline.com/calendar/v2/event_instances?include=tags,event,event_times&order=starts_at&where[ends_at][lte]=2024-10-31&where[starts_at][gte]=2024-03-01&offset=50&per_page=25

Using oauth token from org id 228371

Expected behavior I should get json back.

Additional Context:

Additional context I'm running this code with numerous other orgs with no issue.

I have..

nicholaskillin commented 6 months ago

Hey @pastorhudson. Thanks for letting us know about this.

I tried pulling up that URL for that customer today in order to reproduce the error, but when I went to that URL for the customer I received a successful response, no error message.

Would you mind checking to see if you still get an error back for that specific URL?

Thanks!

pastorhudson commented 6 months ago

I just tested and it's working fine now 🤷‍♂️. Must have been a glitch in the matrix. I was getting consistent 500's, but we're good now. Thanks for checking on it.

nicholaskillin commented 6 months ago

No worries! Glad it worked itself out.