Closed musicformellons closed 5 years ago
You can not tell from my output that it is the POST and not the GET, but if you comment out either of them you will find that the POST gives the ERROR.
BTW when performing same request via: https://api.ovh.com/console/#/cloud it does work.
Do you have correctly configure your access rule when you generated your CK ? If it works on a GET and not on a POST ...
ovh.request('POST', '/auth/credential', {
'accessRules': [
{ 'method': 'GET', 'path': '/*'},
{ 'method': 'POST', 'path': '/*'},
{ 'method': 'PUT', 'path': '/*'},
{ 'method': 'DELETE', 'path': '/*'}
]
}, function (error, credential) {
console.log(error || credential);
});
Yeah... must have been it. Got new keys and now everything works. Thanks.
I do this:
So somehow the POST on storage/access give a 403 ERROR. Why is that?