-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploading image from AdminUI using apollo-upload-client returns INTERNAL_SERVER_ERROR, "message":"Missing multipart field ‘operations’ #2516
Comments
As a followup, it would seem that the client side is sending the correct information, and this is a server-side issue.
|
It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :) |
I'm running into a similar issue using the S3FileAdapter. I followed the steps from the documentation on how to set it up. https://www.keystonejs.com/keystonejs/file-adapters/#s3fileadapter What was really odd that 2 days ago I was able to upload without any issues. I spun up a new keystone project and simply set up a list with a name and an image field and was seeing the same Are there any tips on how to debug this? Any way to verify that the AWS S3 / Cloudfront config is correct? |
I ended up upgrading from Keystone v17.1.2 to v18.0.0 and the uploads started working again. If that happens to help anybody. |
Keystone 5 has officially moved into active maintenance mode as we push towards the next major new version Keystone Next, you can find out more information about this transition here. In an effort to sustain the project going forward, we're cleaning up and closing old issues such as this one. If you feel this issue is still relevant for Keystone Next, please let us know. |
I'm trying to upload an image (list Image) with the following GraphQL schema
from TinyMCE (as a custom field) inside the AdminUI. Following these instructions (https://stackoverflow.com/questions/60656730/how-can-one-upload-an-image-to-a-keystonejs-graphql-endpoint/60657015#60657015) I'm using
Apollo-upload-client
, which apparently is already installed in the AdminUI as the Apollo Client. Following theApollo-upload-client
docs (https://github.com/jaydenseric/apollo-upload-client#blob) I am uploading the blob from inside the TinyMCEimages_upload_handler
const UPLOAD_MUTATION = gql
mutation upload($data: ImageCreateInput!) { createImage(data: $data) { id file { path filename } } }
;images_upload_handler: function(blobInfo, success, failure) {
The text was updated successfully, but these errors were encountered: