Invalid request
A parameter or body member failed validation. invalid_params names each one and why.
"type": "https://ohlc.io/problems/invalid-request"
Why it happens
- An unknown or repeated query parameter.
- Both
symbolsandinstrument_ids, ordatetogether withfromorto. - A value outside its documented enum or bounds, or a
formatother thanjsonorcsv. - Control characters in a parameter, or a POST body that is not a JSON object or states one JSON member twice.
- Search text
qthat is empty or only whitespace; omitqto list everything.
How to fix it
- Read
invalid_paramsin the response and correct each named parameter. - Check the endpoint's parameters in the API reference.