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

Invalid error message when a tool is not found in the central #227

Open
anupama-pathirage opened this issue Oct 22, 2024 · 0 comments
Open
Labels

Comments

@anupama-pathirage
Copy link
Contributor

@gayaldassanayake cloned issue wso2-enterprise/ballerina-registry#2177 on 2023-08-11:

Description:

For the Central endpoints tools/{toolsIdPath} and tools/{toolsIdPath}/{version}, when the tooldIdPath does not exist the error message is not appropriate.


{

    "message": "unexpected error occured while searching for org name of tool id: edi"

}

It should be updated to denote that the tool does not exist.

Steps to reproduce:

Send a GET request to the endpoint https://api.dev-central.ballerina.io/2.0/registry/tools/nonexistant.

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

ballerina-platform/ballerina-lang#40264

Suggested Labels (optional):

Suggested Assignees (optional):

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

No branches or pull requests

1 participant