File attachments for PDF produce turnError: Unknown attachment type #4845
Labels
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Versions
version 4.23.1, node 18
Describe the bug
issue in botbuilder-samples
As described here. It shows the same error for a base64 encoded file aswell as one provided using a url like so:
Produces the error:
[onTurnError] unhandled error: RestError: Unknown attachment type
To Reproduce
Install botbuilder and try to send the above pdf as an attachment or really any pdf.
Expected behavior
PDF attached as a downloadable file
Additional context
The samples only provide examples for images. According to the documentation, other file formats which are not images/video/audio should also be possible even though there are no examples for them.
Also existed in version 4.20.0, but updating didn't fix it.
The text was updated successfully, but these errors were encountered: