Date of slack thread: 5/9/24
Anonymous: Hello, I’m a Statsig user. I’m currently using the Statsig Console API to update some dynamic config rules. First I get the dynamic config from API and change some attributes from rule
object at rules
field. But, after update the data and send a patch
request to the API, we are in a trouble error because an attribute does’t have in the documentation called returnValueJson5
(sometimes it’s returnValueJsonC
) and because this attribute the Console API returns a error 400
. If we remove this value from the rule object, and try again the patch
request, this works.
Is there a way to ignore this field when patch
, without delete it manually from the rule object?
Vijaye (Statsig): <@U01RADY1XCJ> , <@U01R3PRTA2J>
Alex Coleman (Statsig): Hi Rogerio, thanks for the feedback. We’ll actually be making this field optional today to simplify cases like yours. The purpose of this field is to allow you to save JSON with comments (also supported in our UI)