@stevej401 do you have a code sample example? Maybe it’s failing on encoding of the characters?
Perhaps you could try snooping a working file upload in the browser console ??
I’m using Power Automate to call the API - the code is fairly simple:
When this runs, the output code looks as below
The filename, as you can see, has an accented character. If I remove this character, the call works fine.
(I’ve removed the string that would have been the actual file contents)
{
“$content-type”: “multipart/form-data”,
“$multipart”:
{
“headers”: {
“Content-Disposition”: “form-data; name="query"”
},
“body”: “mutation add_file($file: File!) {add_file_to_column (item_id: 7665938811, column_id:"files" file: $file) {id}}”
},
{
“headers”: {
“Content-Disposition”: “form-data; name="map"”
},
“body”: “{"image":"variables.file"}”
},
{
“headers”: {
“Content-Disposition”: “form-data; name="image"; filename="Nr GLN marketów OBI.xlsx"”
},
“body”: {
“$content-type”: “application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”,
“$content”: “file_contents_were_here”
}
}
]
}
Hello there @stevej401,
I tried reproducing this issue using Postman and it worked well. I think this might be related to Power Automate. Would you be able to please fill this form adding as much information as possible to it so that our team can take a look into it?