Failed json quiz, my answer is exactly the same as answer key

Describe the problem/error/question I am attempting to do the JSON knowledge test. my answer to the first flow step is exactly the same as the answer key but i get an error. Then I literally copy pasted the answer key into my flow step and still get an error. My flow step:

flow step in the Answer Key

What is the error message (if any)? Problem in node ‘Error - String‘

Incorrect String. Hint: A string value must always be enclosed in double quotes " ". Check for typos!

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hello @BAdamBafiesta,
I think the error is in another node (Error - String), not the one in the screenshot, and the one in the screenshot is disabled..

thank you. looks like i need to “active” the nodes. the error was not in the syntax as you helped identify.

Now I am stuck a few nodes later. Once again my answer looks exactly like the answer key. I again copied the answer key into my answer and still get the error

Problem in node ‘Error - Null‘

Incorrect Null. Hint: The `null` value represents ‘nothing’ and is written as `null` without quotes.

despite non quotes in my answer.

workflow:

My mind was about to explode because of this issue since I was just experimenting and i got the same error,

You’re probably using this workflow:

So, after several attempts, I discovered that there was something wrong with the if node in that specific workflow,

Anyway, the solution is to delete the if node, create a new if node, and set the same conditions.

Then it should work correctly.

2 Likes

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