"error":{"code":3002,"message":"Parameter \'interval\' has incorrect value or format
According to the OrsIsochroneSchema.js, it can be a list of multiple ranges, e.g. [600, 1200, 1400] or a single value list. Neither [300] nor [300, 600, 900] are working.
Can any of you help me out with how to get the different intervals?
thanks for your reply. I tried it first using the API playground which was working fine. When I implemented it in my application I got this ValidationError: child "range" fails because ["range" must contain less than or equal to 1 items].
Ok I see, it’s this darn validation. It’s a very maintenance-heavy feature of our SDKs, I think we should remove object validation entirely and rely on descriptive backend errors, which has gotten quite good in ORS v2. What’ya think @timothy? Is there a way to turn validation dynamically in ors-js?