Trying to upload Gmail Attachment files to OneDrive

Hello

I’m working on n8n cloud trial access.
I’m getting mail with attachment on Gmail, and I need to Upload to OneDrive folder
For the first step is ok but I’m not able to upload data file on OneDrive, I got error, depending on input binary field data, like :

Input : attachment_0

Bad request - please check your parameters
Entity only allows writes with a JSON Content-Type header

or

Input

{{ $binary.attachment_0}}

The item has no binary field ‘[object Object]’ [item 0]
Check that the parameter where you specified the input binary field name is correct, and that it matches a field in the binary input

I also try with this

If anyone have any advice, or solution plz ?
ParentId is ok I can create empty file.
Thanks.

You have to use the Get Gmail node after you get all. This node has the option to download the attachment and add it as a binary to your output

Hello,

I’m already using this option. If you check my workflow, option is activate on Get All