I'm trying to update an event via the EventBrite API V3, but I'm unsuccessful.
I get a 403 error as expected:
{
"status_code": 403,
"error_description": "You do not have permission to access the resource you requested.",
"error": "NOT_AUTHORIZED"
}I get a 500 error:
{
"status_code": 500,
"error_description": "The server encountered an internal error.",
"error": "INTERNAL_ERROR"
}
Can you assist me how I can get a successful update to an event with the v3 API? What are the step that I need to follow to do this? The documentation at the URL,
http://developer.eventbrite.com/docs/event-details/, are very generic (POST /v3/events/{Event ID}/). (e.g. Do I need to post the object in JSON in the body? Do I send it key/value pairs? Do you have any special instructions on escaping HTML content?)
I would like to migrate off of the deprecated API, but I'm having issues using the built-in test tool.
REQUEST
PARSED INPUT DATA
- event.name.html: Test Event - Cris - 2b
- event.description.html: <P><SPAN STYLE="text-decoration: underline;">This</SPAN> is a <STRONG>test</STRONG>.</P><P>This is line two</P><P> </P><P><STRONG>FAQs</STRONG></P><P> </P><P><STRONG>Are there ID requirements or an age limit to enter the event?</STRONG></P><P>Your answer goes here</P><P> </P><P><STRONG>What are my transport/parking options getting to the event?</STRONG></P><P>Your answer goes here</P><P> </P><P><STRONG>Do I have to bring my printed ticket to the event?</STRONG></P><P>Your answer goes here</P><P> </P><P><STRONG>The name on the registration/ticket doesn't match the attendee. Is that okay?</STRONG></P><P>Your answer goes here</P><P> </P>
- event.organizer_id: 6280909743
- event.start.utc: 2015-04-13T02:00:00Z
- event.start.timezone: America/Los_Angeles
- event.end.utc: 2015-04-13T03:30:00Z
- event.end.timezone: America/Los_Angeles
- event.currency: USD
- event.venue_id: 9717024
- event.shareable: on
- event.capacity: 11000
- event.show_remaining: on
PARSED AUTHENTICATION
- OAuth token: ------
- User ID: 94570820989
- App key: ------
EXPANDED FIELDS
- category
- attendees
- subcategory
- format
- venue
- order
- ticket_classes
- logo
- organizer
- event
REQUEST BODY
event.name.html=Test+Event+-+Cris+-+2b&event.description.html=%3CP%3E%3CSPAN+STYLE%3D%22text-decoration%3A+underline%3B%22%3EThis%3C%2FSPAN%3E+is+a+%3CSTRONG%3Etest%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3EThis+is+line+two%3C%2FP%3E%3CP%3E%C2%A0%3C%2FP%3E%3CP%3E%3CSTRONG%3EFAQs%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%C2%A0%3C%2FP%3E%3CP%3E%3CSTRONG%3EAre+there+ID+requirements+or+an+age+limit+to+enter+the+event%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EYour+answer+goes+here%3C%2FP%3E%3CP%3E%C2%A0%3C%2FP%3E%3CP%3E%3CSTRONG%3EWhat+are+my+transport%2Fparking+options+getting+to+the+event%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EYour+answer+goes+here%3C%2FP%3E%3CP%3E%C2%A0%3C%2FP%3E%3CP%3E%3CSTRONG%3EDo+I+have+to+bring+my+printed+ticket+to+the+event%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EYour+answer+goes+here%3C%2FP%3E%3CP%3E%C2%A0%3C%2FP%3E%3CP%3E%3CSTRONG%3EThe+name+on+the+registration%2Fticket+doesn%27t+match+the+attendee.+Is+that+okay%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EYour+answer+goes+here%3C%2FP%3E%3CP%3E%C2%A0%3C%2FP%3E&event.organizer_id=6280909743&event.start.utc=2015-04-13T02%3A00%3A00Z&event.start.timezone=America%2FLos_Angeles&event.end.utc=2015-04-13T03%3A30%3A00Z&event.end.timezone=America%2FLos_Angeles&event.currency=USD&event.venue_id=9717024&event.logo.id=&event.logo_id=&event.category_id=&event.subcategory_id=&event.format_id=&event.shareable=on&event.password=&event.capacity=11000&event.show_remaining=on
RESPONSE
HTTP 500 INTERNAL SERVER ERROR- Vary: Accept
- Access-Control-Allow-Origin: *
- Access-Control-Allow-Headers: Authorization
- Content-Type: text/html; charset=utf-8
- Allow: GET, POST, HEAD, OPTIONS
{
"status_code": 500,
"error_description": "The server encountered an internal error.",
"error": "INTERNAL_ERROR"
}