Capturing on the frontend the SC "Validate Data" errors

Hi,

I have a form that posts data on a ServerConnect where I have a “Validate Data” step that does 2 checks and return an error message when applicable.

The return message when an error occurs is being returned as follow:
image
image

When binding data on the frontend to an alert, I am able to capture lastError.status (400) and lastError.message (Bad request) correctly, however lastError.response is showing: [object Object] instead of “Clinic already exists”, is it a bug?

Thanks

Community Page
Last updated: