{"action":"closed","issue":{"url":"https://api.github.com/repos/jaydenseric/apollo-upload-server/issues/115","repository_url":"https://api.github.com/repos/jaydenseric/apollo-upload-server","labels_url":"https://api.github.com/repos/jaydenseric/apollo-upload-server/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/jaydenseric/apollo-upload-server/issues/115/comments","events_url":"https://api.github.com/repos/jaydenseric/apollo-upload-server/issues/115/events","html_url":"https://github.com/jaydenseric/apollo-upload-server/issues/115","id":360695610,"node_id":"MDU6SXNzdWUzNjA2OTU2MTA=","number":115,"title":"BadRequestError: Missing multipart field ‘operations’","user":{"login":"JaredPotter","id":6678046,"node_id":"MDQ6VXNlcjY2NzgwNDY=","avatar_url":"https://avatars1.githubusercontent.com/u/6678046?v=4","gravatar_id":"","url":"https://api.github.com/users/JaredPotter","html_url":"https://github.com/JaredPotter","followers_url":"https://api.github.com/users/JaredPotter/followers","following_url":"https://api.github.com/users/JaredPotter/following{/other_user}","gists_url":"https://api.github.com/users/JaredPotter/gists{/gist_id}","starred_url":"https://api.github.com/users/JaredPotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaredPotter/subscriptions","organizations_url":"https://api.github.com/users/JaredPotter/orgs","repos_url":"https://api.github.com/users/JaredPotter/repos","events_url":"https://api.github.com/users/JaredPotter/events{/privacy}","received_events_url":"https://api.github.com/users/JaredPotter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-17T00:41:02Z","updated_at":"2018-09-17T01:02:54Z","closed_at":"2018-09-17T01:02:54Z","author_association":"NONE","body":"Hello there,\r\n\r\nI've been struggling to get apollo-upload-server working in my local environment, along side apollo-upload-client inside my vue.js app. I've had graphql using express working no problem and only have this issue when I added apollo-upload-server/client. I can run non-file mutations and they go through fine. But with a file mutation, I continually get the error `BadRequestError: Missing multipart field ‘operations’`.\r\n\r\nI believe the error is happening on the server. I've narrowed down to just running:\r\n```\r\nimport express from 'express'\r\nimport graphqlHTTP from 'express-graphql'\r\nimport { apolloUploadExpress } from 'apollo-upload-server'\r\nimport schema from './schema'\r\n\r\nexpress()\r\n  .use(\r\n    '/graphql',\r\n    apolloUploadExpress({ maxFileSize: 10000000, maxFiles: 10 }),\r\n    graphqlHTTP({ schema })\r\n  )\r\n  .listen(3000)\r\n```\r\n\r\nAnd I still get the error, even when using curl. One thing I did notice was that in my vue app, on the first request there was an empty body for where the file contents were supposed to go. But again, in theory, curl failing means it is still the server and not the client.\r\n\r\nAny help would be greatly appreciated! "}}
{"actor":{"display_login":"jaydenseric"}}