JSON output parser not working for Anthropic LLM

The output parser is not working. What am I missing here?

Here’s the output from LLM (Anthropic):

Here’s the parser doing absolutely nothing with it:

And here are the settings of the parser:

  • Running n8n via n8n cloud

Hi mezar welcome to n8n community :clap:

I confirm this issue also happen to me so i just make a clear system prompt to output on json format and then just get each value on the next node with parse json like this {{ $json.output.parseJson().messageBody}}

I encountered the same error. it works and doesn’t work. it actually does the formatting as desired and this is displayed in the log section, but the parser does not give us this output. if we could access the logs directly, we could bypass the problem, but I couldn’t find a solution.