Skip to Content

SAP Hybris - DataHub - 400 Bad Request y2ySyncYaaS

I am trying to sync my YaaS configurations from the backoffice.I get a 400 error

Here is my datahub config :

 datahubadapter.datahuboutbound.url=http://xxx.xxx.xxx.xxx:8080/datahub-webapp/v1
  y2ysync.datahub.url=http://xxx.xxx.xxx.xxx:8080/datahub-webapp/v1/y2ysync/v60
  y2ysync.batch.size=10000
  y2ysync.datahub.upload.retries=3 

INFO   | jvm 1    | main    | 2020/01/20 00:00:09.408 | [m[32mINFO  [TaskExecutor-master-544956-Task [8812098257846]] [ProcessChangesTask] Created SyncImpExMediaModel >>>> SyncImpExMediaModel (8897965031454@1) [syncExecutionID: 00006NUA]
INFO   | jvm 1    | main    | 2020/01/20 00:00:09.708 | [m[32mINFO  [TaskExecutor-master-544961-Task [8812098454454]] [DefaultExportService] Export was successful (using cronjob with code=00006NUH)
INFO   | jvm 1    | main    | 2020/01/20 00:00:09.808 | [m[32mINFO  [TaskExecutor-master-544961-Task [8812098454454]] [ProcessChangesTask] Created SyncImpExMediaModel >>>> SyncImpExMediaModel (8897965293598@1) [syncExecutionID: 00006NU9]
INFO   | jvm 1    | main    | 2020/01/20 00:00:09.909 | [m[32mINFO  [TaskExecutor-master-544961-Task [8812098454454]] [ProcessChangesTask] Created SyncImpExMediaModel >>>> SyncImpExMediaModel (8897965359134@1) [syncExecutionID: 00006NU9]
INFO   | jvm 1    | main    | 2020/01/20 00:00:10.309 | [m[32mINFO  [TaskExecutor-master-544969-Task [8812098487222]] [DataHubRequestCreator] Sending request to datahub @ http://xx.xx.xx.xx:8080/datahub-webapp/v1/y2ysync/v60 with sync execution id: 00006NU9
INFO   | jvm 1    | main    | 2020/01/20 00:00:10.309 | [m[1;31mERROR [TaskExecutor-master-544969-Task [8812098487222]] [DataHubRequestTaskRunner] 400 Bad Request
INFO   | jvm 1    | main    | 2020/01/20 00:00:10.309 | [m org.springframework.web.client.HttpClientErrorException: 400 Bad Request
INFO   | jvm 1    | main    | 2020/01/20 00:00:10.309 |     at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) ~[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE]
INFO   | jvm 1    | main    | 2020/01/20 00:00:10.309 |     at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:667) ~[spring-web-4.3.3.RELEASE.jar:4.3.3.RELEASE]
INFO   | jvm 1    | main    | 2020/01/20 00:00:10.309 |

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

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.