wso2 / apk

Official Repository for APK distribution
Apache License 2.0
147 stars 89 forks source link

gql endpoint with empty basepath does not work #2338

Closed AmaliMatharaarachchi closed 1 month ago

AmaliMatharaarachchi commented 2 months ago

Description: getting the following error for the gql backend provided with "" as basepath.

Error deploying prod gqlRoute of API : Star Wars API in Organization default from environments map[wso2-apk-default:{}]. Error: error while deploying API. Name: Star Wars API Version: 1.0.0, OrgID: default, API_UUID: af6aa52b-3b49-4f27-9e1f-6f0648ad75c9, Error: error while creating routes. Error adding request policy REWRITE_RESOURCE_PATH to operation POST of resource /starwars/1.0.0. policy parameter map must include rewritePath [error_code=2665 severity=Critical]

Suggested Labels:

Suggested Assignees:

Affected Product Version:

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues: