Skip to main content

Notifications

Copilot Studio - General
Unanswered

Issues with running a custom prompt with an uploaded file

(0) ShareShare
ReportReport
Posted on by
I have a very basic flow that attempts to use an uploaded file in a custom prompt. See below:
 
 
In my custom prompt, I use the file input:
 
 
My issue is that when I run "Test prompt", this works fine, but when I try to run this through testing my topic, I get the following error:
 
 ...failed to run with response code '400'. Error Code: AIModelActionBadRequest Conversation Id:...
 
Can someone help me out with troubleshooting this?
Categories:
  • Artur Stepniak Profile Picture
    Artur Stepniak 1,352 on at
    Issues with running a custom prompt with an uploaded file
    Hello,
     
    it's not ready yet, guys, let's wait. Building something on workarounds isn't the best approach for creating something that's stable.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
    Interested in GenAI? Visit my site!
  • James Nix Profile Picture
    James Nix 2 on at
    Issues with running a custom prompt with an uploaded file
    I have the exact same issue.  This article at the bottom seems to indicate that it isn't available yet, but I'd love to see if there is a solution:
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard