API Action Throw error not populating $_ERROR

This feature doesn't throw an error to $_ERROR: API Action Throw Error Option:

Expected and actual result

When an error is thrown by the api action, it's accessible in the $_ERROR variable

This variable is null

Replicate

  1. Create an api action step

  2. Add the url https://connect.mailerlite.com/api/subscribers

  3. Tick the 'throw errors' box. See my settings:

  4. Then in the catch put a response step where the text is going to be $_ERROR

  5. It's populated as null

on NodeJS

1 Like