This call has not been granted
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
question

This call has not been granted

Par
TOMMJ
Créé le 2022-05-03 13:45:23 (edited on 2024-09-04 11:50:42) dans Serveurs Privés Virtuels (VPS)

Bonjour, je travaille sur l'API OVH, j'aimerais accéder aux informations de mon serveur, mais lors l'exécution de mon code python, j'ai l'erreur "This call has not been granted" et voici mon script :

```
client = ovh.Client(
endpoint='****',
application_key='****',
application_secret='****',
consumer_key='****',
)

result = client.get('/vps/{serviceName}')

print(json.dumps(result, indent=4))
```