Open rukmals opened 3 years ago
Get API Artifacts, Get sequences from the storage, Get end-points from the storage for the API In the WSO2 API Manager - Gateway(v2) results "Server Error Occurred"
The following commands ,
curl -k -H "Authorization: Bearer xxxxxxxxxxxx" "https://127.0.0.1:9443/api/am/gateway/v2/sequence?apiName=PizzaSharkAPI&version=1.0.0&tenantDomain=registry.com"
curl -k -H "Authorization: Bearer xxxxxxxxxxxx" "https://127.0.0.1:9443/api/am/gateway/v2/api-artifact?apiName=PizzaSharkAPI&version=1.0.0&tenantDomain=registry.com"
curl -k -H "Authorization: Bearer xxxxxxxxxxxx" "https://127.0.0.1:9443/api/am/gateway/v2/end-points?apiName=PizzaSharkAPI&version=1.0.0&tenantDomain=registry.com"
produce the error,
{"code":900967,"message":"General Error","description":"Server Error Occurred","moreInfo":"","error":[]}
@rukmals Can you try Basic authentication for this Rest API ?.
Description:
Get API Artifacts, Get sequences from the storage, Get end-points from the storage for the API In the WSO2 API Manager - Gateway(v2) results "Server Error Occurred"
The following commands ,
curl -k -H "Authorization: Bearer xxxxxxxxxxxx" "https://127.0.0.1:9443/api/am/gateway/v2/sequence?apiName=PizzaSharkAPI&version=1.0.0&tenantDomain=registry.com"
curl -k -H "Authorization: Bearer xxxxxxxxxxxx" "https://127.0.0.1:9443/api/am/gateway/v2/api-artifact?apiName=PizzaSharkAPI&version=1.0.0&tenantDomain=registry.com"
curl -k -H "Authorization: Bearer xxxxxxxxxxxx" "https://127.0.0.1:9443/api/am/gateway/v2/end-points?apiName=PizzaSharkAPI&version=1.0.0&tenantDomain=registry.com"
produce the error,