Skip to main content

Hello!

Upon performing a z.request() to upload a file to my API, I get this error back:

"Could not parse request body into json: Could not parse payload into json: Unexpected character ('-' (code 45)) in numeric value: expected digit (0-9) to follow minus sign...”

I do not get this error if I include no form data in the request. Does anyone know a fix for this? My code is basically the default “uploadFile_v10” from the example app except with my URL substituted in.

Be the first to reply!

Reply