Skip to main content
Solved

Error 403 Forbidden: The request was a legal request, but the server is refusing to respond to it. Unlike a 401 Unauthorized response, authenticating will make no difference.

  • 16 September 2022
  • 5 replies
  • 3247 views

Hello All,

I am trying to retrieve data using OData V4 but I get the error in the subject line. Everything is on my local machine and works with OData V3.

 

Any help is appreciated why does V3 work but not V4?

5 replies

Userlevel 7
Badge +5

There is a separate Role that your user should have to use Odata v.4

 

Userlevel 7
Badge +9

@Dmitrii Naumov thank you. I assume this is a predefined role. If this is the case why this role is missing from system? Is there an script or something that I can add it?

Userlevel 7
Badge +9

@Dmitrii Naumov Thank you for putting me in the right direction. The Role existed in company “1” but not sure why it was missing from my other tenants. I replicated the same role from the company zero to other tenants and granted the required permissions and assigned to the users I needed and everything works fine now. Appreciated it very much.

 

I guess it will be a good idea if Acumatica adds this prerequisite configuration to the I300 course material to prevent headaches and issues like this.

Userlevel 4
Badge +1

I am having the same problem (only one tenant though) and i have that role activated for the appropriate users and it is still not working? i just got off hte hpone with out IT company and they checked my elcel to make sure it was working properly. Any other ideas what is could be?

Userlevel 3
Badge

When it comes to this error , client could also try Administrator role and grant access or choose delete for all roles associated with the Admin role. 

Reply