Anthropic Models 400 Error in Agent With Notion Tool

:bullseye: What is your goal?

Use Anthropic model in Make Agent to create a database item in Notion.

:thinking: What is the problem & what have you tried?

All Anthropic models in the Make Agent node are generating an error when trying to create a database item in Notion.

:clipboard: Error messages or input/output bundles

400 | Property keys for Output structure should match pattern ‘[1]{1,64}$’ when using Anthropic models.

:link: Create public scenario page

:camera_with_flash: Screenshots (scenario flow, module settings, errors)


  1. a-zA-Z0-9_.- ↩︎

Hello @sierralabsautomation
That error is coming from Anthropic’s tool use schema validation. The Notion tool being passed to the Anthropic model has a property key in its output structure that contains a character not allowed by Anthropic, usually a space, special character, or a key that’s too long. Check your Notion database property names and make sure none of them contain special characters or exceed 64 characters, as Anthropic enforces strict naming rules on tool schemas that other models like OpenAI don’t.

@wisdomdavid I already polished everything but it is still showing errors. I think Anthropic models do not support the “Let AI Agent decide” option. I unchecked the fields and it’s going through now. But it’s not ideal. I need that function in order to properly update my Notion database.

I think this should be flagged to the Make team.

ohh okay, glad you got it working