Error 403 - Access Denied- during some commands

RESTful knowledge exchange

Error 403 - Access Denied- during some commands

Veeam Logoby RoderikdW » Fri May 01, 2015 8:28 am

I am quite new to RestFul API and have been experimenting with it somewhat.
I have managed to log in and create a session

I have included my X-RestSvcId into all requests after logging in, but I keep getting the 203 -Access Denied Error
Occasions on which this has happened:
Trying to GET jobs (/api/jobs)
Trying to POST creation of a cloud tenant (api/cloud/tenants)

Strangely though this error did not occur during 'GET' backupservers (/api/backupservers)

anyone who can assist me in this issue?

Kind Regards
RoderikdW
Enthusiast
 
Posts: 25
Liked: 1 time
Joined: Fri May 01, 2015 8:10 am

Re: Error 203 - Access Denied- during some commands

Veeam Logoby Shestakov » Fri May 01, 2015 10:55 am

Hello, RoderikdW.
Please provide your support case ID number, if you want to keep this thread open, as it is requested if post about errors/technical issues (right when you click New Topic).
Thanks.
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Error 203 - Access Denied- during some commands

Veeam Logoby RoderikdW » Fri May 01, 2015 11:29 am

ah right! that would be: 00442053
RoderikdW
Enthusiast
 
Posts: 25
Liked: 1 time
Joined: Fri May 01, 2015 8:10 am

Re: Error 203 - Access Denied- during some commands

Veeam Logoby Shestakov » Fri May 01, 2015 12:00 pm

I guess you mixed up the support case number. The one you provided was opened in 2013 about some Veeam One issue.
Have you contacted technical support recently? If no please do, if yes, please provide actual support case number. Thanks!
Shestakov
Veeam Software
 
Posts: 4863
Liked: 396 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Error 203 - Access Denied- during some commands

Veeam Logoby RoderikdW » Fri May 01, 2015 12:52 pm

ah sorry I thoughti t was the support ID
I opened a case and this is it's case ID: 00907361
RoderikdW
Enthusiast
 
Posts: 25
Liked: 1 time
Joined: Fri May 01, 2015 8:10 am

Re: Error 203 - Access Denied- during some commands

Veeam Logoby RoderikdW » Fri May 01, 2015 1:36 pm

it was error 403 by the way, not 203!
RoderikdW
Enthusiast
 
Posts: 25
Liked: 1 time
Joined: Fri May 01, 2015 8:10 am

Re: Error 203 - Access Denied- during some commands

Veeam Logoby v.Eremin » Wed May 06, 2015 2:40 pm

Be aware to follow the logon procedure specified here, and also use the account with sufficient privileges. Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Error 203 - Access Denied- during some commands

Veeam Logoby RoderikdW » Thu May 07, 2015 8:00 am

I am logging in correctly and logging in as Portal Administrator, so I should have sufficient permissions!
RoderikdW
Enthusiast
 
Posts: 25
Liked: 1 time
Joined: Fri May 01, 2015 8:10 am

Re: Error 203 - Access Denied- during some commands

Veeam Logoby v.Eremin » Thu May 07, 2015 4:00 pm

Those were first things to check, more like usual suspects. For more detailed investigation the code, as well, as log review is required. Keep working with the support team and, kindly, update the topic with a solution, when it's found. Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Error 203 - Access Denied- during some commands

Veeam Logoby RoderikdW » Fri May 08, 2015 8:26 am

The account which I use the Restful api with is an account with a Cloud Provider License. Although this is just a guess, is it possible that this is related to the license itself?
RoderikdW
Enthusiast
 
Posts: 25
Liked: 1 time
Joined: Fri May 01, 2015 8:10 am

Re: Error 203 - Access Denied- during some commands

Veeam Logoby v.Eremin » Fri May 08, 2015 2:57 pm

Cloud Connect APIs are open in every edition, if I remember that correctly. You seem to get access denied issue while to querying those. So, my answer would be no, it must be something different. Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Error 203 - Access Denied- during some commands

Veeam Logoby RoderikdW » Fri May 08, 2015 3:43 pm

Okay, thanks!
I will wait for a reply from support in that case and update when I obtain any new knowledge concerning this issue.
RoderikdW
Enthusiast
 
Posts: 25
Liked: 1 time
Joined: Fri May 01, 2015 8:10 am

Re: Error 203 - Access Denied- during some commands

Veeam Logoby v.Eremin » Fri May 08, 2015 3:46 pm

Sounds like the best idea, indeed. Kindly, keep us updated.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Error 203 - Access Denied- during some commands

Veeam Logoby RoderikdW » Wed May 13, 2015 2:30 pm

It seems that it is indeed the license used, that causes the Access Denied Error.
I was under the impression that Cloud Provider licenses were different from other licenses, but this is not the case.
Cloud Provider is an additional feature to the license, which is available in Standard, Enterprise & Enterprise Plus regardless of whether you are Cloud Provider or not.
However the license used on our B&R Cloud Connect Server is a rental license with a monthly fee of 4.50 euro for every VM in our repositories.
Currently I am not quite sure how changing to Enterprise will affect our rental license, as it will be customers sending their backup jobs to our repositories from their own B&R server.
The question I asked in this topic however has been answered. The license used by the B&R Cloud Connect Server is not sufficient to provide me with full RestFul API access.

Kind Regards,
Roderik
RoderikdW
Enthusiast
 
Posts: 25
Liked: 1 time
Joined: Fri May 01, 2015 8:10 am

Re: Error 203 - Access Denied- during some commands

Veeam Logoby v.Eremin » Wed May 13, 2015 4:34 pm

It should be sufficient to work with Cloud Entities, such as Cloud Gateways, Cloud Tenants, etc. via RESTful API. That's been the intended behavior. Are saying that it's not the case? Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Next

Return to RESTful API



Who is online

Users browsing this forum: No registered users and 2 guests