You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to upload gpx file from website - CORS policy
Describe the bug
I want to upload some gpx file from the website, but I got an error: Access to fetch at 'https://api.bikedataproject.org/file/upload' from origin 'https://www.bikedataproject.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
A clear and concise description of what the bug is.
Impossibility to upload a file from the website
You can see this message on the popup Something went wrong, are you uploading the correct files? (.gpx and/or .fit)
please try again.
Looking at the console this is the error: Access to fetch at 'https://api.bikedataproject.org/file/upload' from origin 'https://www.bikedataproject.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Expected behavior
Able to upload the gpx file
A clear and concise description of what you expected to happen.
Attachments
If applicable, add screenshots, code snippets or logs to help explain your problem.
The text was updated successfully, but these errors were encountered:
Unable to upload gpx file from website - CORS policy
Describe the bug
I want to upload some gpx file from the website, but I got an error:
Access to fetch at 'https://api.bikedataproject.org/file/upload' from origin 'https://www.bikedataproject.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
A clear and concise description of what the bug is.
Impossibility to upload a file from the website
To Reproduce
Steps to reproduce the behavior
please try again.
Access to fetch at 'https://api.bikedataproject.org/file/upload' from origin 'https://www.bikedataproject.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Expected behavior
Able to upload the gpx file
A clear and concise description of what you expected to happen.
Attachments
If applicable, add screenshots, code snippets or logs to help explain your problem.
The text was updated successfully, but these errors were encountered: