ERROR (MainThread) [root] https://api-iot.he.services/commands/v1/context - Error 403 - {"Message":"User is not authorized to access this resource with an explicit deny"} #10

Closed
opened 2023-03-21 11:10:06 +01:00 by mariuszs4n · 3 comments
mariuszs4n commented 2023-03-21 11:10:06 +01:00 (Migrated from github.com)

Repeated error: image

Repeated error: ![image](https://user-images.githubusercontent.com/75074734/226575168-5c2eca6f-fcad-4b6a-b27d-ea0cbee0b530.png)
Andre0512 commented 2023-03-21 11:35:31 +01:00 (Migrated from github.com)

Hey, this is implemented a bit dirty at the moment, the token expires after 8 hours and if a HTTP error 403 is thrown, a new login is made. I will change it so that a new token is requested cleanly via the refresh token. I had prepared this in the last version and will try to finish it soon 🙂

Hey, this is implemented a bit dirty at the moment, the token expires after 8 hours and if a HTTP error 403 is thrown, a new login is made. I will change it so that a new token is requested cleanly via the refresh token. I had prepared this in the last version and will try to finish it soon 🙂
mariuszs4n commented 2023-03-21 11:38:04 +01:00 (Migrated from github.com)

Good job. Thank you.

Good job. Thank you.
Andre0512 commented 2023-04-12 02:27:00 +02:00 (Migrated from github.com)

Released in new hon version v0.5.0.

Released in new hon version `v0.5.0`.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: GitHub/pyhOn#10
No description provided.