I am getting a 500 error with the message "783: unexpected token at"

I am utilizing an api to upload a file. I was getting this error in my React app and I tried in postman and received the same error. Is file upload supported by KOR? I am just adding a simple form data like the code that follows. I have tried with and without the ContentType header.

let data = new FormData();

data.append('file', image);

return axios

    .post(url, data, {

        headers: {

            'Content-Type': 'multipart/form-data',

            "x-api-key": key



Let me get back to you on this one. We do support this use case but let me do some research to understand what the issue is.

Any update on this? We are also running into this issue when trying to upload a file.

curl -L -X POST 'https://test.korconnect.io/test/upload' \
-H 'x-api-key: *****' \
-H 'Content-Type: application/pdf' \
--data-binary '@/test.pdf'

Hello Mat,

Unfortunately we don’t currently support ‘multipart uploads’. We are looking to implement a solution based in ‘binary payloads’ but it will depend on how many users request it. We will let you know when we have this functionality available.