Rest API create tickets
-
I’m trying to build a simple script to ease some administrative pain I’m dealing with. I manage a few different sites that sell tickets for their events. each of these sites has different tickets and pricing requirements.
Manually adding tickets each time has been a huge frustration. Since there is no way to create a ticket package template (which would be a nice feature). I decided to try and roll my own method by utilizing a simple script I can run locally and leverage the API to try and create my events and tickets.
Problem is I keep running into nonce errors.
Each event is created without issue. However, ticket creation results in.
{'code': 'forbidden', 'message': 'Invalid nonce', 'data': {'status': 403}}
Failed to create ticket 'General Admission': 403I’m using generated application passwords. I understand the application password isn’t supposed to require a nonce, which makes me believe that the issue is somewhere else entirely or I’m completely missing something.
Curious if anyone has any ideas.
The topic ‘Rest API create tickets’ is closed to new replies.