web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Agent is not accepting...
Copilot Studio
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. 
 
 
I have the same question (0)
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,592 Super User 2025 Season 1 on at
     
    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.
  • Udayan008 Profile Picture
    4 on at
     
    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 161

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 130 Super User 2026 Season 1

#3
Arild Aarnes Profile Picture

Arild Aarnes 61 Super User 2026 Season 1

Last 30 days Overall leaderboard