Check your connection
Run this from the machine that will call the API. It gets an access token and lists the available areas.
TOKEN=$(curl -s -u "$CLIENT_ID:$CLIENT_SECRET" -d grant_type=client_credentials \ https://auth.volueinsight.com/oauth2/token | python3 -c 'import sys,json;print(json.load(sys.stdin)["access_token"])')
curl -sS -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $TOKEN" \ https://data-forecasts.volue.com/api/v1/timeseries/curve-attributes/areas200 means network, encryption (TLS) and authentication all work.
The first command uses python3 only to read access_token from the JSON response. Use
jq -r .access_token instead if you have it.
Any other result: see Troubleshooting.
Was this page helpful?Thanks for your feedback!