-
Notifications
You must be signed in to change notification settings - Fork 113
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
Webpack "Failed to fetch" issue #299
Comments
Is the openapi spec available at |
oh it is. I mean locally ofcourse. It returns
|
Just deployed the spec. You can try with https://daas.blend-api.com/openapi-spec.json. Same result. |
Weird, will test |
Hi @rohit-gohri Thank you so much for looking into this. Any update? Were you able to reproduce this? |
Update @rohit-gohri. You may have already realized, but the problem occurs only with a URL as spec. Works if it's a path to a file. |
I'm also experiencing this issue happening in Redocusaurus v2.0.0/ Docusaurus v3. Local file works while external URL does not. Weirdly though wasn't affected in Docusaurus v2, external links worked fine before my upgrade attempt. Did you have any luck with this @afzalIbnSH ?
|
Was anyone able to figure this out? I'm encountering this exact issue on a completely fresh Docusaurus project using Docusaurus 3.2.1 and redocusaurus 2.0.2. Local specs work just fine, but trying to load either a json or yaml remote spec errors with the above Edit: After some deeper investigation, this seems to be caused by a CORS issue. Allowing CORS on the spec allowed it to load remotely. |
With the below basic presets config,
when I visit the
/api-reference
route, I get the below error message instead of the openapi specMy dependencies;
The text was updated successfully, but these errors were encountered: