ID62
January 24, 2026, 5:18am
1
Hi I have a few workflows that have been working flawlessly using Anthropic API Claude key, with user defined as [{“role”: “user”].
Yesterday suddenly all the workflows fail to work and all of them showing this message error:
“{\n "roles": [\n "Expected JSON, received: [{\"role\": \"user\"]"\n ]\n}”
I don’t understand why they were previously working flawlessly and now suddenly broke down? Maybe there was a change made in Activepieces or Claude overnight that cause this?
I’m a non-coder, I need help to fix this issue if anyone can help. Tks
Hey @ID62 ,
could you please share the Claude step setup so we can replicate the issue?
ID62
February 2, 2026, 9:34am
3
It’s quite simple. This is what I usually put in the roles section, maybe you can try it. It previously worked flawlessly, but now it comes back with
“{\n "roles": [\n "Expected JSON, received: [{\"role\": \"user\"]"\n ]\n}”
Pls let me know how to fix this. What’s puzzling is they previously worked beautifully…why it suddenly stopped now
@ID62 ,
The provided value is invalid JSON because it is missing a closing curly bracket. Could you try providing [{"role":"user"}] as the value and test it?
ID62
February 6, 2026, 4:41am
5
kishanprmr:
[{“role”:“user”}]
thanks, I tried it and it comes out with different error message (attached).
Was there any changes that occured or maybe this a bug? Tks again