API-1003 error: Rest API Get call does not work for custom dynamic lookups