This call has not been granted
elfarsaouiomar opened this issue · 1 comments
elfarsaouiomar commented
i create application_key, application_secret and consumer_key followin this blog https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/ . but when i run my code i got error : ovh.exceptions.NotGrantedCall: This call has not been granted
Note: when i chose Validity for 5 min it work but when i chose {} i got error
application_key = getenv("application_key")
application_secret = getenv("application_secret")
consumer_key = getenv("consumer_key")
client = ovh.Client(
endpoint='ovh-eu',
application_key=application_key,
application_secret=application_secret,
consumer_key=consumer_key,
)
result = client.get("/me")
print(json.dumps(result, indent=4))
elfarsaouiomar commented
i create application_key, application_secret and consumer_key followin this blog https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/ . but when i run my code i got error : ovh.exceptions.NotGrantedCall: This call has not been granted
Note: when i chose Validity for 5 min it work but when i chose {} i got error
application_key = getenv("application_key") application_secret = getenv("application_secret") consumer_key = getenv("consumer_key") client = ovh.Client( endpoint='ovh-eu', application_key=application_key, application_secret=application_secret, consumer_key=consumer_key, ) result = client.get("/me") print(json.dumps(result, indent=4))