reading .xlsx as b'~)^\xb3+-zo\xaf'
israelnz2018
HOBBYOP

9 months ago

Hi team. I am using N8n to send a file .XLS to railway though HTTP parameter type N8n binary data (fixed). N8N received the error "The service was not able to process your request 500 - ":\"File is not a zip file\"}", bu there is not zip file involved. Looking the log from Raiway, it appears: b'~)^\xb3+-zo\xaf' . it seems that Railway is not property reading as .XLSX.... and the file is not corrupted ( I have tested). Any support is welcome. thanks

$10 Bounty

1 Replies

lofimit
HOBBY

9 months ago

Likely either n8n is sending base64, but your backend is treating it like binary, or n8n is sending binary, but your backend is reading it wrong. Either way, most likely it's a problem with either the way it is sent or received/read.

Make sure your backend reads the body as raw bytes. Also check if the content-type header is correct.


Loading...