What keywords are available in the Error Response section of a REST Resource? I've currently got something set up saying the service is not available but that's not always the case, sometimes there's an error with the submission. Is there keywords to access the response from the webservice called or similar? Manual seems to have them for REST Resource Javascript assets.
REST Resource - Keywords available in Error Response
Is this for a REST Form Submission Action? If so, you could print the response into a session var keyword and then do a form condition on that keyword, see attached.
Is that what you mean? Capture.JPG (66.5 KB)
Nope - Just a REST Resource from the Web Services package. We're using it to tunnel through to a Funnelback server.
Oh right, on the normal REST Resource asset, not the REST JS Resource one that doesn't have that section.
Not sure what keywords are available, but I'd strongly recommend using the REST JS Resource asset as you have more control over the error handling that way and can use keywords in the JavaScript processing content easily.
In 5.2.7.7 we also added the ability to wirte code that checks against the rest error codes and messages within the JS text box: