Custom Workflow Actions: Patch method, returns 500 Internal Server Error
When attempting to update an existing custom workflow action's specifically changing the `actionUrl` field using the PATCH method, but the API returns a 500 Internal Server Error.
For ActionUrl, I am using ngrok pointing to my local pc, so i am sure that it works.
Custom Workflow Actions: Patch method, returns 500 Internal Server Error
Hi @zach_threadint , regarding comments, none, actually i removed all possible that might cause any errors in updating a custom action, also tried giving an error format for json, but it gives the right error response, which is expected. Its just when everything is good, I am getting this kind of 500 Internal error, it is really weird. So far, for me to move forward, I created another custom action, tried everything there. and it works fine. For now im gonna use that. Thanks for such a big help.
Thanks for sharing the additional info. This is still leading to a success response for me and nothing really jumps out at me when reviewing your example request.
Do you have any comments in your request body within Postman? Sometimes I've seen errors like this that seem to relate to the inclusion of comments in request JSON bodies.
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia
Using your example JSON body, I've not been able to replicate the issue you're experiencing.
Could you please share the failing request's cURL code snippet (as generated by Postman)? Be sure to redact any potentially sensitive information (including API keys, private access tokens etc.).
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia