Tagmanager.resolve all returns null on AEM 6.5 publish instance
Hi,
I am facing an issue where the Tags are not being resolved on AEM 6.5 publish instance.
The following code is being used to resolve the tag
final TagManager tagManager = resourceResolver.adaptTo(TagManager.class);
final Tag tag = tagManager.resolve("/content/cq:tags/abc");
On AEM Author, tags are resolved correctly, but the same code is returning null on publish instance.
The things which I have checked on publish instance:
1. Tags are available on publish instance
2. service user used for resolving the tags is available on publish instance
3. read and write permissions are provided for /content/cq:tags
Please let me know if there is anything else that needs to be checked.