Load error code and responce from previous node

Describe the problem/error/question

I run a workflow to make a new user in a system.
Early step is checking if user is already in system, preferably by trying to get their data.
API returns 404

404 - {"error":{"code":404,"message":"Resource Not Found: userKey","errors":[{"message":"Resource Not Found: userKey","domain":"global","reason":"notFound"}]}} - Resource Not Found: userKey

I would like to be able to load those details into IF node. Instead, all I get is an error that the previous node failed.

What is the error message (if any)?

Error running node ‘Google Workspace Admin’

Please share your workflow

Screenshot 2023-10-06 at 09.30.55

“Continue on Fail”
“Always output data”
don’t resolve the issue

Information on your n8n setup

  • n8n version: 1.8.2 cloud
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

hi @Mateusz_Bijakowski

You can enable the Continue on Fail setting in the options of the Google workspace node to capture the error and pass it to the IF node. Take note, that any error during that node execution won’t stop the workflow (even if you will mess up with some variables or URL)

1 Like

Hi,
If you have a look again you will see I’ve already tried that.

Next node just says “Error running node ‘Google Workspace Admin’” and doesn’t allow me to reference the error.
You can also see that screenshots shows that it continued.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.