Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

AI Agent is unable to create record

Vaibhav Sharma1
Tera Contributor

I have created an AI agent in a demo environment and I am unable to create records on a custom table with inputs given in each execution to agent.

 

I am getting this error:

I’m sorry, but I was unable to save your wellbeing data because of security restrictions on the system. Please contact your administrator for assistance or try again later.

 

What should I check to fix it.

2 REPLIES 2

AnugrahR_George
Tera Contributor

You should check the role defined for the AI agent(define data access section inside define security controls) to ensure it has the correct permissions to access and create records on your custom table. Additionally, check the application scope where the AI agent is running versus the scope where your table exists to ensure cross-scope access is permitted.

AlexMcDonald
Tera Contributor

Worth adding that the error he's seeing is the agent's paraphrase, not the actual failure. It'll say security restrictions whether the real cause was an ACL, a scope boundary, or something else entirely. Check the raw response from the write attempt rather than what the agent reports back. Otherwise, you're debugging a summary.