Sequential orchestration error: Http 400 invalid request error, 'messages[0].name': string does not match pattern. #97
-
I'm getting an http 400 error when calling a simple sequential orchestration, right as i call GetValueAsync(), before any agents respond or my function filter gets hit
This is with chat completion agents on azure open ai models, sequential orchestration with InProcessRuntime, everything updated to 1.60. Passing in a query that looks pretty normal to me: Any ideas what's going on or how to debug this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @bicheichane! Based on your error message about "messages[0].name" not matching the required pattern when using Azure OpenAI chat completions, here's what could be causing the issue and some guidance on how to resolve it: What’s Happening?Your error:
This means that the
Why This Matters
Next Steps — Troubleshooting
Official Microsoft Learn ReferencesIf you follow these steps and the error persists, try sharing the exact payload (with sensitive data removed) for more tailored help. If this clears things up, please mark this as the answer! If you need more guidance, let me know! |
Beta Was this translation helpful? Give feedback.
Hey @bicheichane! Based on your error message about "messages[0].name" not matching the required pattern when using Azure OpenAI chat completions, here's what could be causing the issue and some guidance on how to resolve it:
What’s Happening?
Your error:
This means that the
name
property on one of your chat completion message objects either:<
,|
,\
,/
, or>
, orWhy This Matters
name
…