cancel
Showing results for 
Search instead for 
Did you mean: 

WebIDE for HANA - Log: "You do not have the required scopes to access this resource"

0 Kudos

I get “Forbidden” when trying to access the Web IDE. The log says: “GET request to /watt/index.html completed with status 403 – You do not have the required scopes to access this resource.”

I think I have the correct components installed. I have:

  • XS Monitoring – Installed Version: 1.4.0
  • SAP Web IDE Web Client – Installed Version: 4.1.0
  • SAP HANA XS Advanced Runtime – Installed Version: 1.0.55.288028

I have access to Web UI for XS Advanced Administration.

I have users with parameter: parameter ‘XS_RC_XS_CONTROLLER_USER’ = ‘XS_CONTROLLER_USER’

I have given: xs set-space-role Morten orgname SAP SpaceDeveloper, I tried the same for user XSA_ADMIN

I have made a role collection with Role Template (and Role Name) = WebIDE_Developer (this is from Application Name webide!i1).

I have assigned this role collection to both XSA_ADMIN and Morten.

The command: “xs app webide -urls” tells me the WebIDE is at https://vhcalhdbdb.dummy.nodomain:51023, so I go there, but get the error mentioned: Forbidden.

What have I missed?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Morten,

In my case I found the solution as I describe in the other question.

https://answers.sap.com/questions/176587/xs-advanced-error-403-forbidden.html

Regards

0 Kudos

Hi,

Thanks, but it did not work for me. My users were checked as Developer in the Space-Organization.

However, I had not set my users to Manager and Auditor, I tried that, but it did not help.

Regards

offer_shostak
Advisor
Advisor
0 Kudos

Hi,

Do you have other space than "SAP"?

Please make sure the following:

User Morten had "DEVX_DEVELOPER" role - you can use the XS Advanced Administration -> User Management UI to define it easily.

More information can be found in SAP HANA WebIDE SP01 Documentation Developer Guide here:

https://help.sap.com/viewer/4505d0bdaf4948449b7f7379d24d0f0d/2.0.01/en-US/731c647f126d4850a176ff4aa2...

Regards,

Offer.

0 Kudos

Hi,

Thanks, it helped a bit, however, still not completely there...

Other than SAP space I have PROD, but when doing command "xs app webide -urls" in that space I do not get anything, not on the command "xs apps" either. Besides, the example tutorial I followed said the to create the SpaceDeveloper on user in SAP space.

DEVX_DEVELOPER helped a bit, I added it to the user using HANA Studio.

I can load the web page slightly longer no, and I do not get the msg "You do not have the required scopes to access this resource"

However, the loading of the Web page get some errors, I attach the whole log file for this last try: webide-log-3.txt

And the screen freezes at this:

offer_shostak
Advisor
Advisor
0 Kudos

Hi,

Could you please share your tutorial you are using?

Is this SAP HANA WebIDE version is an official release version?

Regards,

Offer.

0 Kudos

Hi,

This is the tutorial: https://blogs.sap.com/2016/03/28/developing-with-xs-advanced-a-tinyworld-tutorial/

Yes the version I am using is official. Found it as downloadable component in my HANA instance's SAP HANA Platform Lifecycle Management, and since I downloaded it from there, and not just from https://launchpad.support.sap.com/#/softwarecenter, I feel confident the version is compatible with the HANA installation I have.

offer_shostak
Advisor
Advisor
0 Kudos

Hi,

It seems like a beta version of the SAP WebIDE.
Please use the latest SPS01 customer release one from here:

https://launchpad.support.sap.com/#/notes/0002403826

Regards,

Offer.