Error fatal lors de l'utilisation de l'api de ovh
... / Error fatal lors de l'uti...
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

Error fatal lors de l'utilisation de l'api de ovh

Par
SandrinD
Créé le 2023-05-01 18:36:29 (edited on 2024-09-04 11:24:27) dans SMS Pro

Je voulais envoyer des sms avec l'api de ovh voici l'erreur que cela mets . J'ai pourtant souscrire a un abonnement sms



Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error response [url] https://api.ovh.com/1.0/sms/ovh-eu/jobs/ [status code] 403 [reason phrase] Forbidden in /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:89 Stack trace: #0 /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/guzzle/src/Subscriber/HttpError.php(32): GuzzleHttp\Exception\RequestException::create() #1 /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/guzzle/src/Event/Emitter.php(108): GuzzleHttp\Subscriber\HttpError->onComplete() #2 /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/guzzle/src/RequestFsm.php(91): GuzzleHttp\Event\Emitter->emit() #3 /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/guzzle/src/RequestFsm.php(132): GuzzleHttp\RequestFsm->__invoke() #4 /storage/ssd4/388/19876388/public_html/civivox/vendor/react/promise/src/FulfilledPromise.php(28): GuzzleHttp\RequestFsm->GuzzleHttp\{closure}() #5 /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php(55): React\Promise\FulfilledPromise->then() #6 /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/guzzle/src/Message/FutureResponse.php(43): GuzzleHttp\Ring\Future\CompletedFutureValue->then() #7 /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/guzzle/src/RequestFsm.php(134): GuzzleHttp\Message\FutureResponse::proxy() #8 /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/guzzle/src/Client.php(165): GuzzleHttp\RequestFsm->__invoke() #9 /storage/ssd4/388/19876388/public_html/civivox/vendor/ovh/ovh/src/Api.php(243): GuzzleHttp\Client->send() #10 /storage/ssd4/388/19876388/public_html/civivox/vendor/ovh/ovh/src/Api.php(273): Ovh\Api->rawCall() #11 /storage/ssd4/388/19876388/public_html/civivox/index.php(27): Ovh\Api->post() #12 {main} thrown in /storage/ssd4/388/19876388/public_html/civivox/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 89