Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Building Copilot Studio Chatbo...
Suggested answer

Agent is not accepting File as a input and pass it to GTP 4 model.

(1) ShareShare
ReportReport
Posted on by 4
I have a topic which accepting files as input and passing it to GTP4 model. But looks like topic is not accepting file as input. I am using 'Test your agent facility' to upload files but file is not getting passed to GTP4 model.
 
Here is the error 
Error Message: The prompt 'JDvsCV' ('fbb14c8e-1a7b-49f0-9a78-7ea62e5c3cfc') failed to run with response code '400'. Error Code: AIModelActionBadRequest Conversation Id: 7c6af0e9-b8f1-4bd2-9b5c-03da127bb213 Time (UTC): 2024-12-18T16:35:56.179Z
 
Please see the attachment. 
 
 
Categories:
  • Udayan008 Profile Picture
    4 on at
    Agent is not accepting File as a input and pass it to GTP 4 model.
     
    GPT 4 is multi module , it accept file as input and. I have tested the model and its working fine. Main issue is passing file from Copilot to model.
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,560 Super User 2025 Season 1 on at
    Agent is not accepting File as a input and pass it to GTP 4 model.
     
    Confirm whether the GPT-4 model being invoked supports file input directly. GPT models generally expect text input only.
     
    As per my understanding, file upload is not possible.

    Since direct file handling is not supported, we need to use Power Automate or Azure Functions to handle file uploads.

    Later Extract file content and send the extracted text to the GPT-4 model through the Copilot Studio topic.

     
    Thanks.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 1

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75

Featured topics