Create Ticket API Endpoint Not Working!
-
Hi, I am trying to create a ticket grammatically using the AS API plugin. I created an API password for an admin user who has the right to create ticket using admin panel. However, I couldn’t create ticket using basic authentication via API endpoint (POST wpas-api/v1/tickets) . It showed an error message as follow.
{ "code": "rest_cannot_create", "message": "Sorry, you are not allowed to create tickets as this user.", "data": { "status": 401 } }
Instead, I tried to use the original wp password of the admin user and it work via the API endpoint. So, i guess it has nothing to do with the user capabilities.
Any idea what could result in my case?
Thank for your advice.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Create Ticket API Endpoint Not Working!’ is closed to new replies.