APIError: There are errors with your arguments: ticket_class.cost.currency - Unknown parameter, ticket_class.cost.value - Unknown parameter

367 views
Skip to first unread message

cjl

unread,
Jul 16, 2015, 9:22:01 AM7/16/15
to eventbr...@googlegroups.com
Suddenly started getting this error:

APIError: There are errors with your arguments: ticket_class.cost.currency - Unknown parameter, ticket_class.cost.value - Unknown parameter

Request: EB request: method=post, url=/events/17794203943/ticket_classes/, token=*********************, params={"ticket_class":{"name":"Standard","description":null,"cost":{"currency":"GBP","value":2500},"include_fee":false,"minimum_quantity":"1","maximum_quantity":"4","quantity_total":25,"hide_description":true,"hidden":false}}

This was working, but now not.

cjl

unread,
Jul 20, 2015, 3:49:18 AM7/20/15
to eventbr...@googlegroups.com
So, am I missing something. Could find no new parameters in the documentation...

Gustavo Bordoni

unread,
Jul 20, 2015, 10:37:52 AM7/20/15
to eventbr...@googlegroups.com
Hi EventBrite Team,

I'm one of the Developers at Modern Tribe working on The Events Calendar WordPress Plugin integration with Eventbrite.

On our Plugin we are having the same response:

stdClass Object(
   
[status_code] => 400
   
[error_description] => "There are errors with your arguments: ticket_class.cost.currency - Unknown parameter, ticket_class.cost.value - Unknown parameter"
   
[error] => "ARGUMENTS_ERROR"
)


Nothing has changed there on how to use this API call.

cjl

unread,
Jul 23, 2015, 9:28:08 AM7/23/15
to Eventbrite API, bordo...@gmail.com
Any response from eventbrite team?

za...@tri.be

unread,
Jul 23, 2015, 10:19:17 AM7/23/15
to Eventbrite API, bordo...@gmail.com, clam...@computingatschool.org.uk
The API docs were updated - http://www.eventbrite.com/developer/v3/endpoints/events/#ebapi-post-events-id-ticket-classes

instead of:
ticket_class.cost.currency and ticket_class.cost.value we now send only ticket_class.cost

The format should be like 'USD,4500'

cjl

unread,
Jul 23, 2015, 1:42:44 PM7/23/15
to Eventbrite API, bordo...@gmail.com, za...@tri.be
Thank-you. Tested and that works.

iam seventh

unread,
Jul 29, 2023, 10:10:21 PM7/29/23
to Eventbrite Developers
Is there any way to set the tax per event? It seems I cannot publish if a tax is required but I don't see any documentation about setting the event tax information. Thank you
Reply all
Reply to author
Forward
0 new messages