-
Notifications
You must be signed in to change notification settings - Fork 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
File uploads using apollo-server-lambda #1419
Comments
Hello @taikn |
Hmmm, I am getting following error, when trying to upload a file using
|
@taikn +1, getting the same error on simple graphql query execution: |
I think that this error is due to apollo-server-lambda tries to parse |
any updates on this? having the same issue as well. |
Having the same issue here. Any solutions? |
@unicodeveloper - I don't believe that's true, going over the source code of |
Seeing this error as well. |
Im also getting this error using |
Anybody able to fix this? |
I'd be keen for an update on this too. Or an alternative solution? This looks like it could potentially be useful: https://github.com/myshenin/aws-lambda-multipart-parser#readme |
+1 |
Same need here |
This still is an issue, does anyone have any updates on this? |
Any updates? |
Thanks very much for reporting this! We think this is a great idea, and would definitely review a PR. If you (or anyone else) is interested in working on this, that would be great - thanks! |
@jbaxleyiii Why was this issue closed? There is an open pull request here: #1739 |
@jbaxleyiii Still waiting for the file upload to work in apollo-server-lambda ... |
Aim to provide file-upload parity support — as already supported within the other Apollo Server integration packages — via the third-party `graphql-upload` package. Co-authored-by: charleswong28 <[email protected]> Co-authored-by: Steve Babigian <[email protected]> Co-authored-by: Jesse Rosenberger <[email protected]> Closes: #1419 Closes: #1703 Supersedes: #1739 ...and therefore... Closes: #1739 Supersedes: #3676 ...and therefore... Closes: #3676
This works! But there seems to be the limit of file size. I got this error when I tried to upload a large file like ~30M:
It's similar to this issue: #3354
I also tried:
But it does not take uploadsConfig. Any ideas? Thanks! |
This is not working. I got a new error in apollo server lambda but works fine in apollo server. [ |
@dcai-icfi it seems you are facing to a hard limit of AWS Lambda ( |
@Santhosh222 Did you resolve your solution? |
I'm getting same issue |
@it-crafter see #5093, I think it can help you |
I also faced this issue, and found no decent solution to implementing file uploads in I found that what I needed was totally achievable with
|
This worked for me in the end:
|
Thanks @skeep-exogee , that was a day saver! |
@skeep-exogee can you share the configuration you use? I'm using apollo-server-lambda with graphqlUploadExpress but it is not working. I'm testing it from Firecamp to send the file. |
Hi,
Could not find any mention, whether apollo-server-lambda supports the GraphQL multipart request specification for uploading files as mutation arguments (like apollo-server does)
The text was updated successfully, but these errors were encountered: