My goal is to display the full timeline of a case in a Self Service Portal, Notes, emails, attachments etc.
I am currently using FetchXML to get a case's related annotations and am running into what I think is a permissions issue.
This is the error when I try to display the result of the FetchXML.
Notes: Liquid error: Exception has been thrown by the target of an invocation.
This is the fetchxml and liquid, without any conditions.
{% fetchxml thenotes %}
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="annotation">
<attribute name="title" />
</entity>
</fetch>
{% endfetchxml %}
Notes: {{ thenotes.results.entities.size }}
Here are the permissions that are set:
Annotation and Activity Pointer have global access rights.

Any idea how to display all timeline records?
Is this a permission issue? "Liquid error: Exception has been thrown by the target of an invocation.
Your advice is appreciated.