
Announcements
Hi everyone,
I’m building an agent in Copilot Studio where a user can upload an image, and that image needs to be sent to a custom API hosted in Azure. The API should then return results that I can display back in the chat (for now as text, but ideally also as a processed image later).
I’ve created a topic in Copilot Studio that successfully collects the image from the user. I also set up an HTTP connector pointing to my API endpoint. However, I’m unable to send the image to the API—neither as base64 nor as multipart/form-data. The API receives the request, but the image data is always missing; only the other parameters appear in the request body.
I also tried uploading the image to SharePoint as a workaround, but that didn’t work either. SharePoint shows the error:
File type not supported. Select from HTML web pages (.html, .htm), PDF (.pdf), Word documents (.doc, .docx), Excel spreadsheets (.xls, .xlsx), PowerPoints (.ppt, .pptx), Text files (.txt, .md, .log), CSV (.csv), XML (.xml), OpenDocument files (.odt, .ods, .odp), EPUB (.epub), Rich Text Format (.rtf), Apple iWork documents (.pages, .key, .numbers), JSON (.json), YAML (.yml, .yaml), or LaTeX (.tex).
I would really appreciate any guidance, best practices, or workarounds that could help me pass the actual image content to my API or handle image uploads more effectively. I’m also happy to connect offline if needed.
Thank you!
Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'.
Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'.
Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'.
Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'.
Valantis
556
Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'.
Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'.
Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'.
Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'.
chiaraalina
155
Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'.
Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'.
Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'.
Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'.
Michael E. Gernaey
118
Super User 2025 Season 2