You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Keystone nextjs pages router monorepo with apollo server instead of graphql-yoga, this happens when I try to upload an image from the image field of keystone.
POST body missing, invalid Content-Type, or JSON object has no keys.
if I use graphql-yoga instead I get a duplex issue which looks like this:
RequestInit: duplex option is required when sending a body
and this happens when I have bodyParser as false but if I remove bodyParser I get no steam or arrayBuffer in the File response so I cannot upload the image properly.
So any thoughts regarding that would be much appreciated! Thanks in advance
Using Keystone nextjs pages router monorepo with apollo server instead of graphql-yoga, this happens when I try to upload an image from the image field of keystone.
if I use graphql-yoga instead I get a duplex issue which looks like this:
and this happens when I have bodyParser as false but if I remove bodyParser I get no steam or arrayBuffer in the File response so I cannot upload the image properly.
So any thoughts regarding that would be much appreciated! Thanks in advance
Should be uploaded without errors
"@apollo/server": "^4.9.5",
"@as-integrations/next": "^3.0.0",
"graphql-yoga": "^5.1.1",
Node version: 18
Nextjs: 14.1.0
The text was updated successfully, but these errors were encountered: