AI Agent is unable to create record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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.