Browser origin not allowed
A request sent from a browser came from an origin the key does not permit.
"type": "https://ohlc.io/problems/origin-not-allowed"
Why it happens
- The key is not browser-enabled.
- The page's origin is not on the key's allowed origins.
- A server-side client sent an
Originheader naming a site other thanapi.ohlc.io.
How to fix it
- Call the API from your server instead of the browser, with no
Originheader (one namingapi.ohlc.ioalso counts as none). - Or enable browser use on the key and add the exact origin. See authentication.