How to show response error message from 'API Action' on page?

@sid Thank you once again! This is an invaluable sklil you just taught me… Seriously appreciate it.

Future readers, here’s the fix:

  1. Type this in console (change your form name to what it should be)
  2. You will see the error message somewhere. In my case under lastError.response.ErrorMessage
  3. Type this in the code field to pick this data

Bonus tip, my status code is ‘400’ so I have to use the ‘invalid’ dynamic event

.
Check this table to see which event you need to use in wappler: Server Connect Dynamic Events

1 Like