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

InfluxDB 2.0: Creating instance of a proto dashboard should return "Not Found" for a Proto that doesn't exists [area/api] #12979

Closed
bednar opened this issue Mar 28, 2019 · 0 comments
Labels

Comments

@bednar
Copy link
Contributor

bednar commented Mar 28, 2019

The /protos/{protoID}/dashboards should return 404 HTTP response for a Proto that doesn't exists:

-> POST 
-> http://127.0.0.1:9999/api/v2/protos/020f755c3c082000/dashboards
-> {"orgID":"039ce622299e0000"}

<- 500 
<- Internal Server Error
<- {
	"code": "internal error",
	"message": "proto not found"
}

but currently the HTTP response is 500: Internal Server Error.

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