crystalthinker
crystalthinker

Reputation: 1182

"TypeError: failed to fetch" for api calls in Wso2 apim store

I have an nodejs api which gives a valid response in postman/browser. Tried to add the api in WSO2 api manager and followed the steps in the tutorials to succesfully publish the api in API Manager. But when created an product and using an auth token to call the created API getting the failed to fetch error as below: enter image description here

Have tried enabling cors which didnt solve the issue. The api from the apim store isnt hitting the node server api.

Upvotes: 2

Views: 4875

Answers (1)

Bee
Bee

Reputation: 12512

Copy and run that URL in a browser tab and accept the certificate. Then try again. It should work.

Upvotes: 4

Related Questions