Project

General

Profile

Actions

Bug #18989

open

When we set invalid values for api settings, we get an empty success response

Added by Nicolas CHARLES over 3 years ago. Updated 21 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

On Rudder 6.2, maybe in previous versions as well
I was expecting an error

[root@server ~]# curl -k -X POST -H "X-API-TOKEN: $(cat /var/rudder/run/api-token)" 'http://localhost:8080/rudder/api/latest/settings' -d 'unexpected_unbound_var_values=sfg'  
{"action":"modifySettings","result":"success","data":{"settings":{}}}

 curl -k -X POST -H "X-API-TOKEN: $(cat /var/rudder/run/api-token)" 'http://localhost:8080/rudder/api/latest/settings' -d 'rudder_generation_delay=0DF'  
{"action":"modifySettings","result":"success","data":{"settings":{}}}

Actions

Also available in: Atom PDF