Skip to Content

POST http://localhost:8080/datahub-webapp/v1/extensions returned a response status of 400 Bad Request

I m getting this error while trying to write the data hub xml configuration. I can communicate to my data hub as explained in https://help.hybris.com/6.5.0/hcd/d4f38c211baf4d209dd548f2d9b0afce.html#loiod4f38c211baf4d209dd548f2d9b0afce but I cannot go anywhere else. My basic problem is that I don t have any type when I want to load data in back office data hub.

any ideas?

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Dec 06, 2017 at 08:25 AM

    The url which u r using is wrong. There is no implementation for extensions in datahub

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2017 at 12:40 PM

    after recreating the data hub config with the version 6.0 (instead of the 6.5), as my hybris version is 6.0 the process send: http://localhost:8080/datahub-webapp/v1 and get as result: [DataHubRequestTaskRunner] org.springframework.web.client.HttpClientErrorException: 405 Method Not Allowed

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 13, 2017 at 02:10 PM

    Basically you need to know 2 things: url in properties is: y2ysync.datahub.url=http://localhost:8080/datahub-webapp/v1/y2ysync/v60 the rawItem on the data hub server must be made using the following rule: Y2YStreamConfigurationContainer.id_item.type example: y2ySyncMineDataHub_Product

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2018 at 10:16 AM

    I switched to Hybris 6.6 and I get again this error.... here is my stack trace:

    INFO [hybrisHTTP19] [PerformY2YSyncJob] starting perform Y2YSyncJob action for : y2ySyncMine20ToDataHubJob WARN [hybrisHTTP19] [DefaultModelValueHandler] No method found for property 'de.hybris.platform.y2ysync.backoffice.data.Y2YSyncJobForm_flowConfiguration', using attribute fallback. Original message: 'EL1007E: Property or field 'hybris' cannot be found on null' WARN [hybrisHTTP19] [ConfigurableFlowRenderer] Can not load data type, since passed object is null. Returning null.

    INFO [hybrisHTTP19] [PerformY2YSyncJobWizardHandler] Performing Y2YSyncJob y2ySyncMine20ToDataHubJob : SYNC

    INFO [hybrisHTTP19] (000004N9) [Y2YSyncMasterJobPerformable] Collected changes for type: ComposedTypeModel (8796095512658@0) in medias: 8797635117086 INFO [hybrisHTTP19] (000004N9) [SyncTaskFactory] Changes detected. Scheduling task: syncDataHubTaskRunner on node group: null INFO [update-backofficeIndex-CronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-backofficeIndex-CronJob) [SolrIndexerJob] Started indexer cronjob. INFO [update-backofficeIndex-CronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-backofficeIndex-CronJob) [AbstractIndexerStrategy] No active index found, FULL indexer operation must be performed before any other operation INFO [update-backofficeIndex-CronJob::de.hybris.platform.servicelayer.internal.jalo.ServicelayerJob] (update-backofficeIndex-CronJob) [SolrIndexerJob] Finished indexer cronjob.

    INFO [TaskExecutor-master-2039-Task [8796257354678]] [DefaultExportService] Starting export synchronous using cronjob with code=000004NA INFO [TaskExecutor-master-2039-Task [8796257354678]] [DefaultExportService] Export was successful (using cronjob with code=000004NA) INFO [TaskExecutor-master-2039-Task [8796257354678]] [ProcessChangesTask] Created SyncImpExMediaModel >>>> SyncImpExMediaModel (8797635510302@1) [syncExecutionID: 000004N9]

    INFO [TaskExecutor-master-2041-Task [8796257387446]] [DataHubRequestCreator] Sending request to datahub @ http://localhost:8080/datahub-webapp/v1/y2ysync/v60 with sync execution id: 000004N9

    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.