ERPNext Permission Denied

Hey, I am just trying to fetch the child table data. I got the Permission Denied message even I have access of full permission.

What i am trying to do is, “fetch Payment Entry Reference which is child table of Payment Entry”.
I have even pass the parent in url to fetch. Entry Reference?filters=[[“Payment Entry Reference”,“parent”,"=",“ACC-PAY-2020-00004”]]&fields=["*"]

You cannot fetch child table data this way,

nevertheless, there is a way to view child table data.

You need to have developer_mode: on
First of all, you need to convert the DocType to not be a child table by unchecking the Is Child Table checkbox.

Then you need to add the required permissions below.

You would now be able to view the child table list.