cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hybris Commerce - Marketing Integration ymktToDatahubJob keeps returning HTTP 400 / 404

Former Member
0 Likes
470

I'm performing YCommerce -> YMarketing integration and executing ymktToDatahubJob through Backoffice.

As far as I know. All extensions are defined and also all needed parameters.

Even though the error persists(attachments).

The main point is the following link keeps returning 404.

   datahub.server.url=http\://172.31.60.74\:8080/datahub-webapp/v1

I believe it is either missing actions: Add some extra extensions in Datahub or YCommerce or configure Y2Y Sync tab in Ycommerce Menu(can't assume what's wrong).

Please help me on that. If you have already performed Hybris Marketing Integration. It must be easy for you and I'm kind of desperate(many days struggling on the same point)

Thanks in advance, Guilherme Domingues

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

To let Y2YSync work correctly the following URL must be set for each Hybris marketing integration Cron Job in Backoffice: http\://172.31.60.74\:8080/datahub-webapp/v1/y2ysync/v60.

Then the problem to reach Datahub won't happen again.

Answers (1)

Answers (1)

Slava
Product and Topic Expert
Product and Topic Expert
0 Likes

Guilherme,

I have no experience with y2ysync but I have an idea for troubleshooting. First, as far as I understand you run DataHub as a standalone Tomcat server on 72.31.60.74:8080/datahub-webapp If so, then you should make sure it's deployed as you expected. Try to hit http://72.31.60.74:8080/datahub-webapp/v1/version from the browser to exclude any possible misconfigurations. If you can, then Datahub is running correctly and you need to make sure it's configured correctly. If you're getting 404, that means Tomcat is running but with DataHub there are two possibilities:

  • it's not deployed to the Tomcat server at all

  • it's deployed but is bound to an app name other than datahub-webapp.

The latter one is specifically possible, if you simply dropped the datahub war file into the Tomcat's webapps directory. In this case Tomcat will use the war file name (including the version number) as the application name.

Here is my recommendation:

  • install DataHub as it's described in Install SAP Hybris Data Hub. The installation process uses Tomcat's Context Container (Make sure to refer to correct Tomcat version, if you need details on it. The provided link is for Tomcat 7)

  • make sure you can hit the DataHub instance from a web browser through http connection

  • configure y2ysync to use that instance and test.

  • switch to https, if needed.

Former Member
0 Likes

Thanks , the check-up procedure is good to follow. Just found the problem as you can see in my answer.