-
Notifications
You must be signed in to change notification settings - Fork 13
Image Processing API => "Unable to fetch image from url..." #55
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
Comments
hit the same problem, it would be nice to be able to set the 'Access-Control-Allow-Origin' header |
There is an option on setup for this. But the default of * is not working for me. This is important feature for flutter web. |
further investigation and it seems you are missing the correct response on an OPTIONS request. The options request needs to return the correct cors headers else a get will never be attempted by many browser apps. Explained well here: |
@ohabash did you find a solution? |
Using https://imgix.com/ instead :( |
had to use www.imageKit.com. ran out of time to solve this |
The error might come from this line:
OPTIONS isn't in the list, meaning that preflight CORS request can't succeed. Don't known if calling Image Processing API trigger simple or preflight CORS request though. |
I am trying the basic example provided in the docs
The frontend returns this error
google cloud logs show this error
The text was updated successfully, but these errors were encountered: