Tibber.com API call - help with authorization.
Hi.
I'm trying to reach my electricity company through their public API.
I'm able to use the POST field in the command to get a response but a layer of authorization is required.
Is anyone able to point me in the right direction on how to incorporate the authorization token in my call?
This call gives me a response (from their examples)
call:
{
"query": "{ viewer { name }}"
}
response:
{"data":null,"errors":[{"message":"No valid access token in request","locations":[{"line":1,"column":3}],"path":["viewer"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}]}
Documentation:
https://developer.tibber.com/docs/guides/calling-api
Any help is appreciated
Hi. Sorry for my late answer. I'm not any closer to resolve this issue. I was hoping that the dev team would pick up on this post and get WSS to work.
The data not received from the HAN port i was able to get from their API. Hourly price etc was OK. Stopped working after a while for some reason and I haven't done anything more with it.