API OVH : Problème de droits
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

API OVH : Problème de droits

by
Fabien1337
Created on 2019-03-15 16:39:43 (edited on 2024-09-04 13:14:37) in Hébergements Web

Bonjour,

J'ai un problème d'authentification sur certains endpoints.
Ce bout de code fonctionne :
- client.get('/me/bill?date.from='+datefrom.isoformat()+'&date.to='+dateto.isoformat())
Mais celui-ci ne fonctionne pas 3 lignes plus loin :
- client.get('/me/bill/' + id)
Il me dit ovh.exceptions.NotGrantedCall: This call has not been granted, alors que les credentials sont bon car ils fonctionnent pour la première.

Merci d'avance !

Maxime