DEV Community

Discussion on: Handling File Uploads with Apollo Server 2.0.

Collapse
 
dnature profile image
Divine Hycenth

I guess you're missing something somewhere. You can have a look at this repository to see how i did it. github.com/DNature/apollo-upload
Let me know if you still encounter another problem in the future.

Also, it's better to share your code via codesandbox or create a repository when trying to ask for help because it's difficult to debug a code you're can't see.

Best regards

Collapse
 
thomasgil92 profile image
ThomasGil

Hello, i had the same error, i just clone your repos => npm i=> npm run dev & npm start.
the file is correctly uploaded to the folder but nothing in the DB and this error appears in console.