SAP Knowledge Base Article - Preview

3104868 - 403 Error on API Request to CDS from Commerce Cloud

Symptom

After setting up Commerce Cloud for integration with CDS, you find 403 errors on OAuth token retrieval or when an event is sent to CDS.

INFO [RxIoScheduler-8] [CharonHandler] baseUrl:https://htp<>.api.US.context.cloud.sap/uaa/oauth, method:POST, consumes:Optional[application/x-www-form-urlencoded], uri:/token
INFO [nioEventLoopGroup-2-13] [CharonHandler] error code:403, phrase:Forbidden
ERROR [update-electronicsIndex-cronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-electronicsIndex-cronJob) [Job] Caught throwable Forbidden
com.hybris.charon.exp.OAuthExeption: Forbidden
at com.hybris.charon.oauth.OnAuthToken.lambda$performOauth$5(OnAuthToken.java:139)
at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$4.onError(OperatorOnErrorResumeNextViaFunction.java:140)
...


Read more...

Environment

Commerce Cloud Integration with Context-Driven Services.

Product

SAP Commerce Cloud all versions

Keywords

context driven, forbidden, authenticate, charon, solr index , KBA , CEC-CDS , SAP Commerce Cloud, context-driven services & ISS , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.