Crash while using Auto Detect Language for Generative Responses
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- ai
Research direction
Start by reproducing the Auto Detect Language for Generative Responses sample flow, including the Detect Language topic, User.Language change, Formula card, and Adaptive Card button. Compare the flow with Detect Language disabled and inspect the prompt input at the point of failure. Done means clicking the Adaptive Card button no longer produces the blank Message AIModelActionBadRequest error.
Written by the indexing model from the issue text.
Description
What sample tool are you using?
Auto Detect Language for Generative Responses
Describe the bug
I switch language during the chat. The Detect Language topic is executed. The User.Language is set to the chosen language.
In my flow I show a Formula card (Adaptive Card). After clicking on a button in the Adaptive Card I get the following error:
Error Message: The parameter with name 'Message' is required to call the prompt but its value is blank. Error Code: AIModelActionBadRequest Conversation Id: ed6f5716-3fe4-4fdd-976b-13747707d346 Time (UTC): 2025-09-04T06:40:00.160Z
This crash occur even if I don't switch language.
If I disable Detect Language topic the issue is gone.
- Dominant language
- TypeScript
- Stars
- 797
- Forks
- 491
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/CopilotStudioSamples
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
SharePointSSOComponent
microsoft/CopilotStudioSamples#537 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/CopilotStudioSamples#532 · 1 comment ·
-
Unable to Deploy SPFx Agent to a Single SharePoint Site (Works Only with Tenant-Wide Deployment) Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/CopilotStudioSamples#531 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in microsoft/CopilotStudioSamples
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100