Skip to Content
author's profile photo Former Member
Former Member

while publishing iDOC to Hybris getting - [HybrisOAuthTokenStore] Failed to find access token for token

Dear experts, I am using Hybris 6100_1 version and datahub*-6.1.0.3-RC3 and sap*-6.10.2-RC4.jar versions I am trying to process an iDoc and getting below errors in Datahub console Caused by: java.lang.SecurityException: Authentication failed for target system at com.hybris.datahub.core.client.impl.DefaultExportClient.validateExportResponse(DefaultExportClient.java:214) ~[datahub-core-export-service-6.1.0.0-RC3.jar:na] at com.hybris.datahub.core.client.impl.DefaultExportClient.export(DefaultExportClient.java:83) ~[datahub-core-export-service-6.1.0.0-RC3.jar:na]

And below error on Hybris Console... [hybrisHTTP10] [HybrisOAuthTokenStore] Failed to find access token for token

Can you please help me on this urgently. Thank you in advance!

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 28, 2016 at 07:28 PM

    Hi

    We faced similar issue.The reason is OAuthClientDetails is missing.You can check form backoffice --> System --> OAuth Try uploading the hybris/bin/ext-integration/datahubadapter/resources/impex/essentialdata-datahubadapter.impex. Restart your admin server.

    Thanks Deba

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Debasmita, Thank you for the reply. I've tried re running the impex as suggested. But it was not helpful. I see the values already in datahubadapter. For OAuthToken, there is no value before and after running the impex.

  • Posted on Oct 28, 2016 at 08:11 PM

    Try this, https://wiki.hybris.com/display/release5/Data+Hub+Adapter+Extension+-+5.7#DataHubAdapterExtension-5.7-OAuthconfiguration Or if you want you can also configure your own client through backoffice and configure it in the same way.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.