PUT method is not allowed. It should be one of these method(s): DELETE

I was trying to update the conversation but was encountering the below error

{“message”:“PUT method is not allowed. It should be one of these method(s): DELETE”}

This is a CURL request:

curl --location --request PUT 'https://domain.freshdesk.com/api/v2/conversations/26106292992' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic APIKEY' \
--header 'Cookie: _x_m=x_c; _x_w=23_2' \
--data '{ "body":"<div style=\"font-family:Helvetica Neue, Helvetica, Arial, sans-serif; font-size:13px\">\n<div dir=\"ltr\">\n<div>Hi Arun K,</div>\n<div><br></div>\n<div><br></div>\n<div dir=\"ltr\">Here are some example numbers: - Sweden SSN: 800101-1234 - Finland SSN: 150292-123A - Sweden Organization Number: 556036-0793 - Sweden SSN: 991231-5678 - Finland SSN: 310520A456B - Sweden Organization Number: 262000-1111<br>\n</div>\n<div dir=\"ltr\"><span style='\''color: rgb(24, 50, 71); font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal;  text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none'\'' dir=\"ltr\">​</span></div>\n<div><br></div>\n<div dir=\"ltr\">If you have any other questions, please let us know.</div>\n<div><br></div>\n<div>Ticket : <a href=\"https://spritlesoftware.freshdesk.com/helpdesk/tickets/54417\" rel=\"noreferrer\">https://spritlesoftware.freshdesk.com/helpdesk/tickets/54417</a>\n</div>\n<div><br></div>\n<div>Kind Regards,</div>\n<div><br></div>\n<div>Spritle Team</div>\n</div>\n<div dir=\"ltr\"><div><br></div></div>\n</div>" }'

I really appreciate any help you can provide.

Hi @balanagendra,

As per the docs, You can only update notes.

If you are trying to update a reply you might encounter this error.

Hope that helps!

Thank you.

1 Like