Skip to content
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

OpenAPI / Swagger is returning "TypeError: Failed to Fetch" after hitting "Execute" on valid request #733

Open
swcurran opened this issue Sep 6, 2022 · 0 comments
Assignees

Comments

@swcurran
Copy link
Contributor

swcurran commented Sep 6, 2022

The following query does not work in the Swagger API.

If I try the query directly -- e.g. http://orgbook.gov.bc.ca/api/v2/search/autocomplete?q=Power%20Corp&inactive=any&latest=true&revoked=false It works fine.

If I try it in swagger:

I get the error TypeError: Failed to fetch

To workaround, I can:

  • Copy the URL in the "curl -X GET..." text
  • Paste it into a browser address bar, hit enter and get the results.

Please fix whatever it is that is broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants