Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Sling Content Distribution-Sync Content between Publishers


Level 2


There are 2 publishers in our project and there is a use case where nodes under /etc/myproject will be updated in one publisher. We want to sync the content in /etc/myproject between publishers and I was trying to implement Sync Distribution of SCD in my local. I made some modification under /etc/myproject and ran the command curl -u admin:admin http://localhost:5443/libs/sling/distribution/services/agents/pubsync -d “action=ADD” -d “path=/etc/myprojcet/abc”. It was success. {"success":true,"state":"ACCEPTED","message":"[QUEUED]"}


But when I tried to run pull command 

curl -u admin:admin http://localhost:4502/libs/sling/distribution/services/agents/distribution-sync -d "action=PULL" got failure response. {"success":false,"state":"DROPPED"} Below is the error coming in logs. Can anyone help us with this.


18.12.2020 22:41:00.924 *ERROR* [ [1608311460915] POST /libs/sling/distribution/services/exporters/pubsync HTTP/1.1] Error exporting package Could not find queue


3 Replies


Community Advisor


This would happen if the exporter/ importer are either not created in publish or the name/endpoints are not same as those configured in author Sync Distribution agent (in this case "distribution-sync"). As per logs it's looking for exporter "/libs/sling/distribution/services/exporters/pubsync".

Once these are configured correctly, sync would work.

You can refer to these links for details:


Level 2

Thanks @shelly-goel

Let me recheck all configurations once more and try.

Is there any restriction that nodes under /etc can't be distributed in this way? The node that I am trying is under /etc.


Community Advisor
@akhilat16351269 /etc or any path should not be an issue as long as the path is added into 'Allowed Roots' in Queue Distribution Agent of publish instnaces. I just tried with path '/etc/project1' and I get {"success":true,"state":"ACCEPTED","message":"[QUEUED]"} on PULL