Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with expiring API permissions #37

Open
Sasni opened this issue Feb 5, 2022 · 0 comments
Open

Problem with expiring API permissions #37

Sasni opened this issue Feb 5, 2022 · 0 comments

Comments

@Sasni
Copy link

Sasni commented Feb 5, 2022

Hi. I am testing SMS sending using OVH Api and this tutorial -> https://docs.ovh.com/gb/en/sms/send_sms_with_ovhcloud_api_in_php/
(first 20 SMS I have for free).
I created a token (2022-01-31) at https://eu.api.ovh.com/createToken/index.cgi?GET=/sms&GET=/sms/*/jobs&POST=/sms/*/jobs
setting Validity to "UNLIMITED" and I was able to send messages. After a few days it looks like the permissions have expired.

https://eu.api.ovh.com/1.0/sms` resulted in a 403 Forbidden response: {"message": "This credential is not valid", "httpCode": "403 Forbidden", "errorCode": "INVALID_CREDENTIAL"}

Is this normal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant