api/alerting/rule/{id} responding with "Internal Server Error" #106829
Labels
bug
Fixes for quality problems that affect the customer experience
estimate:small
Small Estimated Level of Effort
Feature:Alerting/RulesFramework
Issues related to the Alerting Rules Framework
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
Kibana version: 7.13.3
Elasticsearch version: 7.13.3
Server OS version:
Browser version:
Browser OS version:
Original install method (e.g. download page, yum, from source, etc.): ESS
Describe the bug:
If you use APIKey and update the rule API (which supports Token-based authentication only) you will get a status code 500 statusCode: 500,
error: 'Internal Server Error',
message: 'An internal server error occurred.'
So it's hard to find the initial error in such request (I mean authentication method).
In case of using APIKey with wrong/fake key - 401 error
Steps to reproduce:
Expected behavior:
Not sure, but a non-500 error, but more informative
Screenshots (if relevant):
Valid key
Invalid key
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: