You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Anthropic 400 "Invalid signature in redacted_thinking block" after approving several tool calls at once #810
Which Umbraco AI version are you using? (Please write the exact version, example: 10.1.0)
17.8.2
Bug summary
Anthropic return error about "invalid signature" in some situations.
I used to get this error every now and then (at least when trying to create multiple pages, but maybe in more situations), but then I changed thinking effort from high to low, which seems to make it better.
But now I ran into one scenarion where the bug happends ever time (tried exactly the same prompt 3-4 times and got exactly the same results, see "steps to reproduce").
The trigger seems to be paralell calls to "publish_umbraco_content". I added the following line to agent instructions, and that solved the problem.
When you publish things, only publish one thing at a time (publishing multiple things in paralell leads to a crash).
Specifics
Logs:
AnthropicBadRequestException: invalid_request_error
messages.16.content.0: Invalid signature in redacted_thinking block. The block is
bound to a different conversation. ... Content before this block differs from when it
was created, first at messages.15.content.0.
request_id: req_011ChRXeufjqtTWvEpJpUYKr
Steps to reproduce
In Copilot Workspace, ask the agent to update and publish several pages.
The agent calls publish_umbraco_content 4 times in parallel, and an approval popup appears. Click Approve.
Only one publish goes through. The agent says the other three were "rejected because the browser reloaded" and retries them.
The approval popup appears again. Click Approve.
The UI shows "Error: The request was rejected by the AI service."
Expected result / actual result
Expect: published pages and a ok message by the agent.
Actual: 1 or 2 published pages out of 4, and an error in the agent chat.
Activity