Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Pages are not getting publish in local (400 bad request)

Avatar

Level 2

Hi,
I am facing issue in publishing page and getting 400 bad request. Below I have added log details

2024-03-28 16:06:10 - INFO - publish : Creating content for path /content/wknd/language-masters/en/products/accessory-hardware/hideaway-color-match-screws
2024-03-28 16:06:10 - INFO - publish : Create new HttpClient for Default Agent
2024-03-28 16:06:10 - INFO - publish : * Auth User: admin
2024-03-28 16:06:10 - INFO - publish : * HTTP Version: 1.1
2024-03-28 16:06:10 - INFO - publish : * Connect Timeout: 900000
2024-03-28 16:06:10 - INFO - publish : * Socket Timeout: 900000
2024-03-28 16:06:10 - INFO - publish : Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
2024-03-28 16:06:10 - INFO - publish : sent. Response: 400 Bad Request
2024-03-28 16:06:10 - ERROR - publish : Replication (ACTIVATE) of /content/wknd/language-masters/en/products/accessory-hardware/hideaway-color-match-screws not successful. Conversation follows
2024-03-28 16:06:10 - ERROR - publish : ------------------------------------------------
2024-03-28 16:06:10 - ERROR - publish : Sending message to localhost:4503
2024-03-28 16:06:10 - ERROR - publish : >> POST /bin/receive HTTP/1.0
2024-03-28 16:06:10 - ERROR - publish : >> Action: Activate
2024-03-28 16:06:10 - ERROR - publish : >> Path: /content/wknd/language-masters/en/products/accessory-hardware/hideaway-color-match-screws
2024-03-28 16:06:10 - ERROR - publish : >> Handle: /content/wknd/language-masters/en/products/accessory-hardware/hideaway-color-match-screws
2024-03-28 16:06:10 - ERROR - publish : >> Referer: about:blank
2024-03-28 16:06:10 - ERROR - publish : >> ...spooling 10639 bytes...
2024-03-28 16:06:10 - ERROR - publish : --
2024-03-28 16:06:10 - ERROR - publish : << HTTP/1.1 400 Bad Request
2024-03-28 16:06:10 - ERROR - publish : << Date: Thu, 28 Mar 2024 10:36:10 GMT
2024-03-28 16:06:10 - ERROR - publish : << X-Content-Type-Options: nosniff
2024-03-28 16:06:10 - ERROR - publish : << X-Frame-Options: SAMEORIGIN
2024-03-28 16:06:10 - ERROR - publish : << Content-Type: text/plain;charset=utf-8
2024-03-28 16:06:10 - ERROR - publish : << Content-Length: 135
2024-03-28 16:06:10 - ERROR - publish : <<
2024-03-28 16:06:10 - ERROR - publish : << error: com.day.cq.replication.ReplicationException: Repository error during node import: Node type cq:ReplicationStatus2 does not exist
2024-03-28 16:06:10 - ERROR - publish : Message sent.
2024-03-28 16:06:10 - ERROR - publish : ------------------------------------------------
2024-03-28 16:06:10 - INFO - publish : Replication (ACTIVATE) of /content/wknd/language-masters/en/products/accessory-hardware/hideaway-color-match-screws not successful.
2024-03-28 16:06:13 - INFO - publish : Using user admin for building content.
2024-03-28 16:06:13 - INFO - publish : Creating content for path /content/wknd/us/en/products/accessory-hardware/hideaway-color-match-screws

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Shahid_Siddiqui_04 ,

Check if any properties are not compatible or offending for this path .

/content/wknd/language-masters/en/products/accessory-hardware/hideaway-color-match-screws

 Go to your CRX de and remove all unnecessary properties like cq:ReplicationType, cq:LastReplicatedBy, cq:LastReplictaed or any properties which you find is incorrect with their property type.

Thanks
Tarun

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @Shahid_Siddiqui_04 ,

Check if any properties are not compatible or offending for this path .

/content/wknd/language-masters/en/products/accessory-hardware/hideaway-color-match-screws

 Go to your CRX de and remove all unnecessary properties like cq:ReplicationType, cq:LastReplicatedBy, cq:LastReplictaed or any properties which you find is incorrect with their property type.

Thanks
Tarun