I have a workflow that performs an HTTP Action (POST). I then check if the response code is a 200 or not and go to the corresponding End Step. The problem is that if the endpoint is down, this is the response body received:
The workflow errors with “error parsing the response body:invalid character ‘<’ looking for beginning of value.”
The workflow should not error out on this. I should see the response code of “504 Gateway Time-out” and go to the next step. This way I can re-try the HTTP Action after a Wait Action instead of having the workflow completely error out.
Thank you for bringing this to our attention Daniel. The reason this is happening is because the HTTP action is expecting a JSON response, but the error message is coming back in HTML. I will bring this to the workflow team so they can implement an appropriate fix for this. Unfortunately, I don’t think there’s anything you can do to get past this error in the meantime. I’ll keep this topic updated when a fix is in.
Hey Colin! Has there been any updates/fixes for this? I’m running into a similar situation where a response from an HTTP request is coming back in HTML.