Skip to content
reading .xlsx as b'~)^\xb3+-zo\xaf'
israelnz2018
OP

2 years 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 Reply

lofimit

2 years 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.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...