Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Unable to publish a document in AEM Cloud.

Avatar

Level 2

Trying to publish a PDF document, but it is stuck in the publishing queue with error:

 

 

pubAgentName=publish, userId=replication-service, paths=[/content/dam/pdfs/12345.pdf], deepPaths=[], metadata={}) at offset=342247676 because of 'javax.jcr.version.VersionException: OakVersion0000: Node at / has no primary type.', the importer will retry later

 

 

I check the node and can't find anything wrong. However, this document doesn't have any version history in /jcr:system/jcr:versionStore/.... This document does have version history in it's timeline audit log. Question is when it tries to publish something in the queue, is it doing validation in the version history before it is allowed to publish.

2 Replies

Avatar

Level 4

Hi, just cross check the primaryType and also if the logged in user(In case its via code- service/user) have enough permission (acl).

 

Thanks

Avatar

Community Advisor

@jimmychaucap 

Check if this PDF (/content/dam/pdfs/12345.pdf) has jcr:content node or not.