Actions
Bug #23866
openSettings API don't answer with an error code if the parameter value is invalid
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
If we set setting with invalid parameters value (True instead of true) we don't get an error code, but a message with error
curl -k --request POST --header "X-API-Token: $(cat /var/rudder/run/api-token)" "https://localhost/rudder/api/latest/settings/send_metrics" --data "value=True" {"action":"modifySetting","id":"send_metrics","result":"error","errorDetails":"Could not modify parameter 'send_metrics' <- value for 'send metrics' settings should be 'no', 'minimal' or 'complete' instead of True"}
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 7.3.10 to 7.3.11
Updated by Vincent MEMBRÉ 11 months ago
- Target version changed from 7.3.11 to 7.3.12
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 7.3.12 to 7.3.13
Updated by Vincent MEMBRÉ 10 months ago
- Target version changed from 7.3.13 to 7.3.14
Updated by Vincent MEMBRÉ 8 months ago
- Target version changed from 7.3.14 to 7.3.15
Updated by Vincent MEMBRÉ 7 months ago
- Target version changed from 7.3.15 to 7.3.16
Updated by Vincent MEMBRÉ 6 months ago
- Target version changed from 7.3.16 to 7.3.17
Actions