Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error using document service


I want to access the Document service in our application.

So I added the resource-ref to our web.xml and implemented the code (depending on the "Creating a Sample Application in the" in the help).

When I deploy the application I get the following error:

Tenant Service returned 'null' as current tenant - using the NW Cloud Document Service is not possible in a context without current tenant

I guess the error has it's origin in a failad request:

Server returned HTTP response code: 401 for URL: http://localhost:20002/config/v1/services/tenant/default

The call returns 401, which would mean "unauthorized".

The application is deployed in the "Java Web Tomcat 7" environment.

Is there anything missing or that has to be configured in the cockpit?



Not what you were looking for? View more on this topic or Ask a question