com.sdl.odata.client.api.exception.ODataClientRuntimeException: Unable to make POST request to OData service for "http://localhost:8082/discovery.svc" URL and service query "/ContentServiceCapabilities"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Tridion by ARRX
, 1 year ago
Unable to make POST request to OData service for "http://localhost:8082/discovery.svc" URL and service query "/ContentServiceCapabilities"
java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8082/discovery.svc/ContentServiceCapabilities('DefaultContentSerice')
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sdl.odata.client.caller.BasicEndpointCaller.sendRequest(BasicEndpointCaller.java:121)
at com.sdl.odata.client.caller.BasicEndpointCaller.doPutEntity(BasicEndpointCaller.java:176)
at com.sdl.odata.client.DefaultODataClient.updateEntity(DefaultODataClient.java:191)
at com.sdl.web.discovery.registration.SecuredODataClient.updateEntity(SecuredODataClient.java:72)
at com.sdl.web.discovery.registration.command.UpdateCommand.updateCapability(UpdateCommand.java:96)
at com.sdl.web.discovery.registration.command.UpdateCommand.performCommand(UpdateCommand.java:48)
at com.sdl.web.discovery.registration.RegistrationTool.performCommand(RegistrationTool.java:60)
at com.sdl.web.discovery.registration.Main.main(Main.java:36)

Users with the same issue

Once, 3 weeks ago
Once, 1 month ago
2 times, 4 months ago
Once, 5 months ago
4 times, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.