Closed norgan closed 3 years ago
Token is not being saved to file
{"code": null}
Found the problem. Need to tick these: Allow server-side authentication (grant-type code) Allow client-side authentication (grant-type token)
Hi @norgan , thanks for reporting. Do I understand that this is fixed now?
One note: I am not sure why, but usually when you restart the system it usually will log "Couldn't fetch data for Oura ring sensor.". However, if you do not see any other errors, or it repeated again, it's not an issue.
In your case, you had another error, but it seems that you have found the root cause. I think that part is documented on the Getting Started, but I do admit that their documentation is rather short.
Marking as fixed.
Logger: root Source: custom_components/oura/sensor.py:245 First occurred: 20:37:13 (1 occurrences) Last logged: 20:37:13
Couldn't fetch data for Oura ring sensor.
Logger: root Source: custom_components/oura/api.py:165 First occurred: 20:37:13 (1 occurrences) Last logged: 20:37:13
Unable to retrieve access token from file data.