Home > OS >  Publish existing API in WSO2 API Manager
Publish existing API in WSO2 API Manager

Time:06-29

I am trying to publish an API using the API Manager. I am getting the following error: "API validation failed." My API also has a password, but I can not find out how to add this to the API Manager.Open API Validation Failed

CodePudding user response:

You are trying to create an API using an OpenAPI definition. The OpenAPI definition is validated when you provide the URL here. Please make sure that you have a valid OpenAPI definition in that URL.

If you are a trying to create a simple API without an OpenAPI definition, please use the option Start from Scratch and provide your backend URL there.

CodePudding user response:

If the OpenAPI definition is password protected, then API Manager is not able to retrieve the OpenAPI definition. You can download the OpenAPI definition into the file system. Then use the OpenAPI file option to create an API.

Refer - https://apim.docs.wso2.com/en/latest/design/create-api/create-rest-api/create-a-rest-api-from-an-openapi-definition/#create-an-api-using-the-basic-flow

  • Related