Enhance javascript_nodejs/15.handling-attachments sample for use file types different than images #4006
Labels
feature-request
A request for new functionality or an enhancement to an existing one.
needs-triage
The issue has just been created and it has not been reviewed by the team.
attachmentsBot.js file works with image file samples.
however when I tried changing to
pdf
orxlsx
files the output saysRestError: Unknown attachment type
this is the attachment sent:
Error returned
It would be very helpful to offer file outputs different than image files. Also if another sample offers options to show how to handle pdf or other document files would be very appreciated.
The text was updated successfully, but these errors were encountered: