So, I created automation rule on ticket creation. This rule triggers webhook and send ticket details to my ecommerce website endpoint. Ticket content (subject, email, content) are being processed, compared against my ecommerce existing data and based on all this, I’m trying to assign ticket to group/agent, set priority etc. But, when I try to do ticket update via api, I receive a message: 'POST method is not allowed. It should be one of these method(s): GET, PATCH, PUT, DELETE'
Ticket update via api, normaly, works just fine in all other cases. Only in this scenarion it will not work. Why? Is it some kind of loop in here? And what is the alternative?
Greetings
I understand that you are attempting to update the ticket properties via API from your external endpoint. Based on the error message, it seems that you are using a POST call, whereas a PUT call is required to update the tickets. Could you kindly double-check the call type used and inform us if this resolves the issue? If not, we can create a support ticket and examine the logs with the event ID.
Thank you.
Sujitha.
So, I created automation rule on ticket creation. This rule triggers webhook and send ticket details to my ecommerce website endpoint. Ticket content (subject, email, content) are being processed, compared against my ecommerce existing data and based on all this, I’m trying to assign ticket to group/agent, set priority etc. But, when I try to do ticket update via api, I receive a message: 'POST method is not allowed. It should be one of these method(s): GET, PATCH, PUT, DELETE'
Ticket update via api, normaly, works just fine in all other cases. Only in this scenarion it will not work. Why? Is it some kind of loop in here? And what is the alternative?
You are trying to update the FS ticket from your ecommerce system? Then you need to use PUT as mentioned.
Reply
Sign in to the Community
Social Login
Login for Freshworks Employees Login with LinkedInEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.