You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've done a recent update and this kinda went bellow the spec radar - not anymore - until I saw some real life examples. I have one particular endpoint that's used externally - so I have little control over that - where I saw that a lot of optional params were being passed empty - param1=¶m2=¶m3=annoy-david and those were getting hit with 400 ({"error"=>{"type"=>"invalid_parameter", "message"=>"does not have a valid value"}}) so I tracked it down do allow_blank defaulting to false (the quick fix was really adding allow_blank: true on all my optional parameters).
I think the change that did it - possibly - was this . The documentation doesn't hint at this, in fact the only reference to allow_blank is with two examples of when to use allow_blank: false - so I'm a bit confused here on what's the intention or if I'm just being thick (totally valid :) )
I upgraded from 1.2.5 to 1.3.2 - that's worth mentioning
The text was updated successfully, but these errors were encountered:
Hi guys
I've done a recent update and this kinda went bellow the spec radar - not anymore - until I saw some real life examples. I have one particular endpoint that's used externally - so I have little control over that - where I saw that a lot of optional params were being passed empty -
param1=¶m2=¶m3=annoy-david
and those were getting hit with 400 ({"error"=>{"type"=>"invalid_parameter", "message"=>"does not have a valid value"}}
) so I tracked it down doallow_blank
defaulting to false (the quick fix was really addingallow_blank: true
on all my optional parameters).I think the change that did it - possibly - was this . The documentation doesn't hint at this, in fact the only reference to
allow_blank
is with two examples of when to useallow_blank: false
- so I'm a bit confused here on what's the intention or if I'm just being thick (totally valid :) )I upgraded from 1.2.5 to 1.3.2 - that's worth mentioning
The text was updated successfully, but these errors were encountered: