Skip to main content

Notifications

Copilot Studio - Copilot Studio Skills Development
Unanswered

Copilot Studio Chat Agent Missing ContentUrl, ContentType, and File Content in Attachment

Posted on 3 Dec 2024 13:36:05 by

Hi Community,

I’m working with the Copilot Studio chat agent to upload files to Azure Blob Storage, but I’m facing an issue where the attachment object returned after uploading a file is missing critical data such as contentUrl, contentType, and the actual content. The response I’m receiving looks like

{
  "contentType": null,
  "contentUrl": null,
  "content": {
    "kind": "conversationFileReference",
    "value": "38643c48-2b6b-47b2-812d-754dac950c38"
  },
  "name": "17dc2d19-3ab6-4dfd-b886-a02c28a53f3c.png",
  "thumbnailUrl": null
}

The issue:

  • The contentType, contentUrl, and content fields are all missing or set to null.
  • While the file name is provided, I cannot access the actual content of the file needed for uploading to Azure Blob Storage.

It seems like the Copilot Studio chat agent is not returning the file content as expected.

My question:

  • Has anyone experienced a similar issue with Copilot Studio attachments not returning the full file content?
  • How can I retrieve the actual file content using the object returned, or is there a different approach or API to get the file data?

Any insights or suggestions would be greatly appreciated!

Thanks

Sahad

Categories:
  • Suggested answer
    Artur Stepniak Profile Picture
    Artur Stepniak 296 on 04 Dec 2024 at 09:02:25
    Copilot Studio Chat Agent Missing ContentUrl, ContentType, and File Content in Attachment
    Hello,
     
    attachments are currently not supported in Copilot Studio chat. You can only upload the files directly as a knowledge source. We'd need to wait for this feature to be implemented. :-)
     
    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

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,372

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,900

Leaderboard