fair-rose
fair-rose•3mo ago

DROPBOX_UPLOAD_FILE base64 content issue

I am executing dropbox action via rest API: curl --request POST \ --url https://backend.composio.dev/api/v1/actions/DROPBOX_UPLOAD_FILE/execute \ --header 'Content-Type: application/json' \ --header 'X-API-Key: removed ' \ --data '{ "connectedAccountId": "removed", "input": { "content": { "content": "MTIz", "name": "test.txt" }, "path": "/test.txt" } }' the content field is base64 encoded string '123' as per action documentation: "content": { "description": "File content in base64", "format": "binary", "title": "Content", "type": "string" } action competes ok BUT - in dropbox file content appears as: MTIz So it stores the encoded base64 plain as it is in my request instead of decoded value '123'. Can you advice on what may be wrong, is it a bug?
7 Replies
Soham
Soham•3mo ago
Checking this.
fair-rose
fair-roseOP•3mo ago
any luck @Soham ? ping 🤞 @Soham any update on this by any chance?
fascinating-indigo
fascinating-indigo•3mo ago
hey @Patryk - sorry for the delay. @samvit9021 will help you out here.
flat-fuchsia
flat-fuchsia•3mo ago
Hey @Patryk, figured out the bug. Have created a fix for it, the issue should be resolved in a few hours
fair-rose
fair-roseOP•2mo ago
has this been released by any chance?
fascinating-indigo
fascinating-indigo•2mo ago
yes - this is solved. can you give it a try?
probable-pink
probable-pink•2mo ago
@Patryk Have you tried it??

Did you find this page helpful?