I'm working on Sitecore 10.2 project, it's upgraded from the 8.2 version. Horizon is installed and I can open the content using it and the horizon index is being built without errors.

But when I try to publish an item, it fails and shows this message:

enter image description here

I checked the logs, but there are no exceptions, I checked the network tab and checked the API response:

{"data":{"publishItem":null},"errors":[{"message":"Error trying to resolve publishItem.","locations":[{"line":2,"column":3}],"path":["publishItem"],"extensions":{"code":"INVALID_OPERATION"}}]}
  • 1
    Did you try this using experience editor? if the publish works from there? Aug 9, 2022 at 11:00
  • @SumitBhatia thanks for your answer, the issue was at the publishing targets configurations Aug 9, 2022 at 14:10

1 Answer 1


I figured it out. I had two publishing targets, web01 and web02, one of them was not configured correctly, so this caused the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.