I’m currently taking the Build your first agentic-powered app training using my personal environment.
When running the workflow WorkflowNewCustomerLoan, I receive the following error on the callagent01_intake step:
Failed to call AI model. Status code: BadRequest. The Unknown Provider AI model provider returned this message.....
This is occurring in the training exercise "Build the Intake Agent."
Hi @Brittany Lash ,
I initially encountered this issue when using the Trial model. To confirm that the problem is not related to your implementation but to the model itself, you can test the AI model directly within your Agentic Application. If the same error occurs there, it confirms that the issue is with the AI model, not your logic.
To resolve this, I removed the Trial model from ODC Portal > AI Models, and then added it again.
After re-adding the model, the issue was resolved.
Thank you!!! Deleting and re-adding the AI Model worked for me
Hello,
Could you double-check that the messages being passed to the agent is correct, especially the Document part inside the BuildMessages action?
Yes I just double checked my entire BuildMessages action. The messages look correct
Can you share the OML file?
I tried to open the OML, but I’m getting an error when attempting to do so.
I hope this can help you. I’ve faced this issue before. The first thing I did was check the messages being sent to the agent, specifically in the Call action, to ensure everything was 100% correct. After confirming that, I checked the traces and found that the issue was related to the model itself.
Believe it or not, after trying again later without making any changes, it worked.
You might try something similar here. Create another agent with exactly the same logic, assuming everything is correct, and only change the AI model. For example, if you’re using Claude 3.7 Sonnet, switch it to Amazon Nova Pro and test again and let me know whether the issue is resolved or still persists.
Thanks I built a new agent but used the Amazon Nova Pro Ai model this time. But i still receive the same error in my workflow at the CallAgent01Intake action: All the messages look correct
No worries, we can try again. Quick question: in the UI, did you follow the inputs mentioned in the training, or did you use something personal from your device instead?