When working with certain file names, I've noticed an issue with the 'Download attachment' endpoint. Specifically, when using this endpoint, the returned file has an incorrect name. For instance, if I send a message with the file name 'filename_MM/DD/YYYY.format' and then utilize the 'Download attachment' endpoint, the retrieved file is named 'YYYY.format' instead of the expected 'filename_MM/DD/YYYY.format'. Strangely, the file name appears correctly when using the 'Get message' endpoint to retrieve the attachment within the message.
I would appreciate your guidance on identifying the cause of this discrepancy and suggestions on resolving the issue associated with the 'Download attachment' endpoint. Thank you.
Best answer by justin
View original