REST API POST permissions/listObjects throws Internal Server Error for resource object_type

hi!
I have set up a query to call Retool REST API POST /permissions/listObjects, which keeps throwing Internal Server Error when i set the object_type as 'resource'.
I have the auth token set up for Permissions read/write which i successfully use in another API call with the same endpoint but for object_type="app".
How to fix this situation so I could start listing resource objects with permissions for a group?

Attached image of one that works and the one with the error: