Comments (2)
That is probably due to the requirements of the ttps://onegraph.azurewebsites.net/api/magda
API endpoint you are using. They either only accept GET requests, or require some sort of query string parameter in every request.
Chances are these sort of fetch errors will work better soon; there is currently a bug about to be fixed:
jaydenseric/apollo-upload-client#222
from apollo-upload-examples.
Thank you. This is my graphQL endpoint and doesn't use any query params. My server-side is configured exactly as Apollo documents https://www.apollographql.com/docs/apollo-server/data/file-uploads/#gatsby-focus-wrapper and it added the Upload type.
That said, I read over the Apollo Best Practices and decided to go direct client-side SAS Upload using Azure Blob Storage SDK. This approach is what they actually recommend. It is more efficient to go direct, especially since Apollo doesn't support File Uploads without a 3rd party package on the client. Given that, I will close this issue, but I still think there is a issue.
Thank you.
from apollo-upload-examples.
Related Issues (20)
- File not being passed to server HOT 8
- Facing Network Error Message while running locally HOT 4
- Sync async behavior HOT 5
- Mocking in tests. HOT 5
- BadRequestError when upload file with cookies HOT 1
- What does stream.truncated mean? HOT 6
- Variable picture got invalid value {}; Expected type Upload. Upload value invalid. HOT 2
- How Can I use the graphql-upload with Apollo-server-lambda? HOT 2
- Read the existing data in the "upload" folder HOT 1
- How to delete files by ID? HOT 1
- Runtime error: Unexpected token < in JSON at position 0 HOT 1
- [BUG]: Internal Server Error Invalid Hook Calls HOT 2
- How to forward the GraphQL file without saving it first to a /upload folder HOT 1
- ReactNativeFile upload create payload as [object object] for android HOT 1
- Multiple params causing issues
- Not found error HOT 1
- Can't upload file HOT 4
- Unhandled Runtime Error ApolloError: Failed to fetch
- blocked as a potential Cross-Site Request Forgery (CSRF) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-upload-examples.