Error: incorrect error text for the SendFileByUpload method
-
Author: adunyt
Status: 🟢 Open
️ Tags: bug
Created at: 08.08.2025, 10:36:09
Updated at: 08.08.2025, 10:36:09
Error
If specifying an incorrect message ID for quoting in thequotedMessageIdfield of theSendFileByUploadmethod, the method will return status 400 and the text “failed to upload file.”Level
APIWorkaround
When quoting, specify the correct message ID in thequotedMessageIdfield. The message ID can be obtained using the API: via journal methods or incoming notifications.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login