Updating Event End Date Internal Error

27 views
Skip to first unread message

Scott Snarrenberg

unread,
Nov 17, 2021, 3:11:46 PM11/17/21
to Eventbrite Developers
Hello,
I'm currently getting a 500, internal error, when attempting to update the end date for an event using cURL from the command line.  This error does not occur when I change the date by accessing the endpoint through the browser.  Any help would be appreciated if there is something I can fix.

Endpoint:

using cURL:
curl.exe -X POST https://www.eventbriteapi.com/v3/events/211225941477/ -H "Authorization: Bearer XXXXXXXXXXXXXX" -H "Content-Type: application/json" -d "{\"event\":{\"end\":{\"timezone\":\"America/Phoenix\",\"utc\":\"2021-11-28T21:00:00Z\"}}}"
Response:
{"status_code":500,"error_description":"The server encountered an internal error.","error":"INTERNAL_ERROR"}

Regards,
Scott Snarrenberg

Natalie Blikslager

unread,
Nov 30, 2021, 1:01:25 PM11/30/21
to Eventbrite Developers
Hi Scott!

I looked into the error you were receiving and found that it was due to requesting an update to the end time of an occurrence in a series event without specifying a start time. Your request format is sound and you should receive a successful response, as well as see the event updated accordingly, if you include a start time in your request.

For example: Update an Event 

curl --include \ --request POST \ --header "Authorization: Bearer PERSONAL_OAUTH_TOKEN" \ --header "Content-Type: application/json" \ --data-binary "{ \"event\": { \"start\": { \"timezone\": \"America/Phoenix\", \"utc\": \"2021-12-01T19:00:00Z\" }, \"end\": { \"timezone\": \"America/Phoenix\", \"utc\": \"2021-12-01T21:00:00Z\" }
}
}

Hopefully this is helpful!

Thanks,
Natalie
Reply all
Reply to author
Forward
0 new messages