Help With Listing Gamepasses Created By A Player

I am trying to list all of the game passes that are created by a player.

The code that I am using is not working for some profiles, but it is working for others.

I have tried this code, but I am getting inconstant results.:

I think you can’t get some profiles because of private inventories.