-
Notifications
You must be signed in to change notification settings - Fork 3
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
[ApolloError: Internal server error] #15
Comments
I'd start with Then fix your catch statement at the end (or add an error handler to your ApolloClient definition), so you can get the actual error data and not just the generic message and continue your debugging. |
I do have an errorLink:
The thing is, am not getting the root of the error... Even tho, according to here, this should work in expo:
But I'm still getting: |
Since it's an Internal server error, try enabling Add this to your
|
Thanks for your reply @dre1080 , sadly I have all of them enabled :
Also, just to make sure, I get no error I have added your sample upload mutation in the readme and tried to upload the image to it:
All I get back is: |
Finally, I have got this error:
|
Did you try this yet? Maybe there's something off about whatever automagical transformation is happening.
|
yup, already tried to be honest. Not working .. Getting the same error, or similar errors invalid input. |
Okay, the error disappeared or changed when tried this one:
|
so it only accepted my input when I tried the blob._data but still failed on server side :(
Here the error log :
|
That error comes from WP's I've run into something similar myself in the past over in #2 , was able to get around it by using wp_upload_bits() on the server side, since that doesn't rely on the |
After using Code:
Log:
|
I have made it like this, this is not an error but I also do not understand, if the issue is my setup or the problem with wp-graphql-upload.
Can you please review it?
thanks
Uploading it this way:
The problem is am still getting this error:
ERROR Error during image upload: [ApolloError: Internal server error]
ERROR Error details: [ApolloError: Internal server error]
The text was updated successfully, but these errors were encountered: