Hi Everyone,
I am building flow to remove all old deleted files from recycle bin after 7 days. I have 2 environments one prod and other dev
I have created flow few months back in dev and it was working bit in prod same structure of flow is not working. I am part of site collection admin group.

URI: _api/web/RecycleBin?$filter=DirName eq 'sites/SPAdmins/ZZZ'&$select=Id &$select=DeletedDate'
But now it is not filtering the content in recyclebin and giving me any output. I was working earlier.
I even tried all other alternative query
_api/web/RecycleBin
_api/web/RecycleBin?$filter=ID ge 1
_api/web/RecycleBin?$$select=Id &$select=DeletedDate'
Has anything changed ?