Erreur envoi sms
... / Erreur envoi sms
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

Erreur envoi sms

by
AlainM41
Created on 2021-03-23 08:47:40 (edited on 2024-09-04 13:36:32) in SMS Pro

Bonjour,
j'utilise pour la 1ère fois la fonction d'envoi de sms par API via Python.
J'initialise la demande d'envoi par ovh.client et j’obtiens bien une réponse qui me permet de composer l'URL de la fonction de la fonction client.post() . Le seul champ pour lequel j'ai un doute c'est le champ "sender" dans lequel j'ai fait plusieurs essai. Celui qui me parait le plus probable est le nom de l'application tel que déclaré pour obtenir les idendifiants. Aucun ne marche et la réponse est :
File "/var/services/homes/alain/.local/lib/python3.8/site-packages/ovh/client.py", line 456, in call
raise APIError(json_result.get('message'), response=result)
ovh.exceptions.APIError: This call has not been granted
OVH-Query-ID: EU.ext-2.6059a7a1.12340.0d425905-d170-46ac-aa69-45500c8fa9b6.
Merci de votre aide