Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
access token exception updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Wagner committed Dec 13, 2023
1 parent 6cbe8c8 commit 1906a35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion planqk/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class CredentialUnavailableError(PlanqkError):


class InvalidAccessTokenError(PlanqkError):
def __init__(self, value="Invalid personal access token provided."):
def __init__(self,
value="Invalid personal access token provided. Make sure that you generated a valid token with scope "
"'api' and 'quantum_tokens' in your user settings."):
self.value = value
super().__init__(self.value)

Expand Down

0 comments on commit 1906a35

Please sign in to comment.