SAP Knowledge Base Article - Public

2357191 - Error in JAM Integration "Failed to fetch oauth token from gateway"

Symptom

You get error messgae when trying to access JAM : Error in JAM Integration "Failed to fetch oauth token from gateway

Reproducing the Issue

  1. You have compelted the integration of SAP Hybris Cloud for Customer with JAM.
  2. Login to the HTML UI of the SAP Hybris Cloud for Customer.
  3. Go to the Feeds work center.
  4. You get error messgae Failed to fetch oauth token from gateway.

Cause

 Incorrect IDP ID has been added at JAM Admin page.

Resolution

  1. Go to the Business Configuration work center.
  2. Go to the Implementation Projects view.
  3. Open the relavant project & select Open Activity List.
  4. Go to the Fine Tune step.
  5. Search and open the activity SAP Jam Integration.
  6. Check the Local IDP ID under Client Information.
  7. Now Login to the JAM.
  8. Go to the JAM Admin Page.
  9. Select SAML Trusted IDPs and then choose Register your identity provider.
  10. Change IDP ID as maintained in the Business Configuration activity SAP Jam Integration.
  11. Save your changes.

Keywords

KBA , AP-RC-BCT , Business Config. Tools (SAP Business ByDesign , How To

Product

SAP Hybris Cloud for Customer 1605 ; SAP Hybris Cloud for Customer 1608 ; SAP Hybris Cloud for Customer 1611 ; SAP Hybris Cloud for Customer 1708 ; SAP LE APPL.PLATFORM 1708