Error 403 - Access Denied- during some commands

RESTful knowledge exchange

Re: Error 203 - Access Denied- during some commands

Veeam Logoby RoderikdW » Fri May 15, 2015 7:14 am 1 person likes this post

According to a short call I had with one of your collegues, I was informed that in the Standard Cloud Provider Rental License that it is not possible to configure Cloud Tenants and several other functions. However I was informed that it is the case that the rental license is automatically delivered as standard rental license until an Enterprise Plus Rental License is requested. After requesting it I have obtained an Enterprise Plus rental license and all is good!

To answer your question concreetly, it is not the case that all functions are available to someone with a standard rental license.
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 » Sat May 16, 2015 2:35 pm

I'm not that well versed in licensing, so, I may have confused something in this regard.

Glad to hear that you're up and running now. In the meantime, I will clarify those questions internally to avoid confusion in future.

So, thank you for raising this; appreciated.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] 403 - Forbidden on some request

Veeam Logoby Cookiie » Wed May 27, 2015 2:08 pm

Hi there,

we created a .net application for collecting data via Veeam RestApi.
In most cases everything is fine, but sometimes we get some errors from our customers.
The Log means 403 - Forbidden. We checked all possible problems. The user is portal administrator, authentication works and we have a valid session created.
Some of the main-data is collected, but eg the list of jobs isn't provided.

Any idea what's going wrong? Need the Portal Administrator any special rights?

Kindly regards
Michael Richter

p.s: actually i have no support case ID
Cookiie
Novice
 
Posts: 6
Liked: never
Joined: Wed May 27, 2015 1:45 pm
Full Name: Michael Richter

Re: Error 403 - Access Denied- during some commands

Veeam Logoby v.Eremin » Fri May 29, 2015 10:07 am

Hi, Michael,

Your post has been merged into existing discussion, kindly, check the answers provided above.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Error 403 - Access Denied- during some commands

Veeam Logoby Cookiie » Mon Jun 01, 2015 9:26 am

Hi there,

thanks for merge. I read this Thread before, but wasn't sure if this is the same problem here.
We still had the Problem during our scan of the veeam data. We checked the accounts, they had the portal admin role in Enterprise Manager and the admin role in Backup & Replication.
If i login with the account in the Enterprise Manager on the browser, i can see anything, the logs and so on, only with RestAPI some data ist missing.

At this state, if have no furter idea or clue what i can do.
Cookiie
Novice
 
Posts: 6
Liked: never
Joined: Wed May 27, 2015 1:45 pm
Full Name: Michael Richter

Re: Error 403 - Access Denied- during some commands

Veeam Logoby v.Eremin » Tue Jun 02, 2015 2:37 pm

Can you tell me what type and edition does your license have? Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Error 403 - Access Denied- during some commands

Veeam Logoby Cookiie » Wed Jun 03, 2015 1:41 pm

Hi,

we contact one of our customer. He has following values:

License Type: Full License
Editon: Enterprise

If i saw it, i recognized thats NOT the plus version, so i think this is the reason. I'm right?
Cookiie
Novice
 
Posts: 6
Liked: never
Joined: Wed May 27, 2015 1:45 pm
Full Name: Michael Richter

Re: Error 403 - Access Denied- during some commands

Veeam Logoby v.Eremin » Wed Jun 03, 2015 1:53 pm

v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Error 403 - Access Denied- during some commands

Veeam Logoby jsunjones » Fri Jun 05, 2015 2:57 pm

I had a similar problem with 403 access denied and cloud connect and it turned out I wasn't specifying v=v1_1 as a URL parameter when setting up my session.

I was using postman to review API capabilities
jsunjones
Novice
 
Posts: 3
Liked: never
Joined: Tue May 26, 2015 7:56 pm
Full Name: Jason Jones

[MERGED] : Error code 403. Access denied.

Veeam Logoby Alim » Wed Sep 09, 2015 7:35 am

Greetings,

I have issued a GET command to http://xxx:9399/api/hierarchyRoots to retrieve the reference UID for the vcenter and received the following error below:

<?xml version="1.0" encoding="utf-8" ?>
<Error StatusCode="403" Message="Access denied." />

I have checked that the account being used has:

1) domain admin right
2) local admin right to vcenter
3) administrative roles as veeam administrator

Any advise is appreciated. Thanks
Alim
Novice
 
Posts: 5
Liked: never
Joined: Sun Mar 11, 2012 5:49 am
Full Name: Mohammad Alim

Re: Error 403 - Access Denied- during some commands

Veeam Logoby v.Eremin » Mon Sep 14, 2015 12:17 pm

Are you using Enterprise Plus Edition? Are you issuing request to the correct version of logon manager (v1_1 is the latest one)? Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] : Can't Access VEEAM API: 403 errors

Veeam Logoby rlambrechts » Tue Feb 09, 2016 12:44 pm

Hello,

I've been testing the Veeam REST API for version 8.0 (looking at: http://helpcenter.veeam.com/backup/80/r ... ng_on.html)
However whenever I try to get the jobs, I get an error 403 back.

Little trace:


POST: http://localhost:9399/api/sessionMngr/?v=v1_1
with Authentication: Basic base64(username:password)

Return message:
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
 <LogonSession Type="LogonSession" Href="http://localhost:9399/api/logonSessions/493d1c7e-f0aa-475b-b84c-0ffc0a7d05ba">
 <Links>
<Link Href="http://localhost:9399/api/" Type="EnterpriseManager" Rel="Up" />
<Link Href="http://localhost:9399/api/backupServers" Type="BackupServerReferenceList" Rel="Down" />
<Link Href="http://localhost:9399/api/repositories" Type="RepositoryReferenceList" Rel="Down" />
<Link Href="http://localhost:9399/api/wanAccelerators" Type="WanAcceleratorReferenceList" Rel="Down" />
<Link Href="http://localhost:9399/api/reports/summary" Name="Summary" Type="Report" Rel="Down" />
<Link Href="http://localhost:9399/api/backupServers?format=Entity" Type="BackupServerList" Rel="Down" />
<Link Href="http://localhost:9399/api/repositories?format=Entity" Type="RepositoryList" Rel="Down" />
<Link Href="http://localhost:9399/api/wanAccelerators?format=Entity" Type="WanAcceleratorList" Rel="Down" />
<Link Href="http://localhost:9399/api/cloud/gateways" Rel="Create" />
<Link Href="http://localhost:9399/api/cloud/tenants" Rel="Create" />
<Link Href="http://localhost:9399/api/logonSessions/493d1c7e-f0aa-475b-b84c-0ffc0a7d05ba" Type="LogonSession" Rel="Delete" />
 </Links>
<UserName>COMPANY\user</UserName>
<SessionId>493d1c7e-f0aa-475b-b84c-0ffc0a7d05ba</SessionId>
 </LogonSession>

For starter this seems a very odd message, it doesn't contains as much as in the examples.
However I do get a login session back: 'X-RestSvcSessionId: NDkzZDFjN2UtZjBhYS00NzViLWI4NGMtMGZmYzBhN2QwNWJh'

Once use this session id to get to jobs, I get 'Access Denied'.

GET: http://localhost:9399/api/jobs
+ Header: X-RestSvcSessionId: NDkzZDFjN2UtZjBhYS00NzViLWI4NGMtMGZmYzBhN2QwNWJh

Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<Error StatusCode="403" Message="Access denied." />


I am using the same login account as the one I use in the backup enterprise manager. There everything works.My rights lever is 'Portal Administrator'.

How can I get the jobs? Where is the issue here?

Kind regards,
rlambrechts
Lurker
 
Posts: 2
Liked: never
Joined: Tue Feb 09, 2016 12:38 pm
Full Name: Robbert Lambrechts

Re: Error 403 - Access Denied- during some commands

Veeam Logoby v.Eremin » Tue Feb 09, 2016 1:40 pm

I'm wondering what product edition you're using. Standard, Enterprise or Enterprise Plus? Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Error 403 - Access Denied- during some commands

Veeam Logoby rlambrechts » Tue Feb 09, 2016 1:45 pm

Enterprise

Kind regards,
rlambrechts
Lurker
 
Posts: 2
Liked: never
Joined: Tue Feb 09, 2016 12:38 pm
Full Name: Robbert Lambrechts

Re: Error 403 - Access Denied- during some commands

Veeam Logoby v.Eremin » Tue Feb 09, 2016 1:50 pm

That's the reason. You need to be on Enterprise Plus edition to make use of RESTful API functionality. Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Previous

Return to RESTful API



Who is online

Users browsing this forum: No registered users and 2 guests