Closed brahimouindali closed 2 years ago
It appears you haven't setup the graphql-upload
middleware, so the raw multipart request is hitting Apollo Server and it doesn't know how to process it. Please follow the graphql-upload
installation instructions closely:
This is a simple demo for my case. https://codesandbox.io/s/reverent-hill-b4cohz?file=/pages/index.js it's very basic. so when I try to upload a file I get the response POST body missing, invalid Content-Type, or JSON object has no keys everything is working mutations and queries but the upload files not. could you please help me out because I can't figure it out, THANKS