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**
my code
> 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))
This call has not been granted
Sujets apparentés
- Redirection d'un site http vers https
51825
23.03.2019 11:16
- Changement de nom de domaine
39136
12.03.2017 10:20
- Serveur SMTP/IMAP
27114
26.12.2018 18:26
- Redirection HTTPS vers HTTPS
24708
14.02.2018 08:50
- Demande de suppression de compte OVH (espace client)
23225
16.04.2019 14:06
- Nom de domaine "transférable"
19465
18.10.2016 17:15
- Identifiant et email de connexion perdu
17916
25.01.2017 19:35
- Redirection vers App Heroku
17866
29.01.2018 11:43
- Confirmez que vous êtes bien le propriétaire de http://www.goinginstyle.fr/
17117
01.01.2018 15:48
- À quoi servent ces entrées TXT par défaut ?
17082
08.07.2017 23:38