Skip to content

Internal server error during file upload with Parse-Server Latest version #2138

Closed
@guireg

Description

@guireg

Hi,

I use Parse-server for multiple months, never had any issue except since I updated to the latest version yesterday.

I'm not able anymore to upload files. I use the S3 connector and didn't change any parameter in AWS or in parse-server index.js file since the update and it returns me an Internal Server error.

I use the latest Parse Javascript SDK (1.6.14) with Parse-Server 2.2.13 . On the server side, it's running on the latest Amazon ElasticBeanstalk version.

I use a test file named permis.jpg to avoid special characters but it doesn't work either. I can put every file I want, even ones that worked before, it's not working.

Thanks for the help !

Here is the complete stack of the error :

�[31merror�[39m: Uncaught internal server error. [SyntaxError: Unexpected token �] SyntaxError: Unexpected token �
at Object.parse (native)
at handleParseHeaders (/var/app/current/node_modules/parse-server/lib/middlewares.js:61:23)
at Layer.handle as handle_request
at next (/var/app/current/node_modules/parse-server/node_modules/express/lib/router/route.js:131:13)
at /var/app/current/node_modules/parse-server/node_modules/body-parser/lib/read.js:129:5
at invokeCallback (/var/app/current/node_modules/parse-server/node_modules/body-parser/node_modules/raw-body/index.js:262:16)
at done (/var/app/current/node_modules/parse-server/node_modules/body-parser/node_modules/raw-body/index.js:251:7)
at IncomingMessage.onEnd (/var/app/current/node_modules/parse-server/node_modules/body-parser/node_modules/raw-body/index.js:307:7)
at emitNone (events.js:67:13)
at IncomingMessage.emit (events.js:166:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions