Adam ONeillOriginal post
Rank 1: Thread
Hi,
I have a flutter x cloud solution. I have a cron job running every day to check for all users that have a free trial enables and checks the date of the expiration of their free trial. If 10 days passed they will have it removed.
- The cron operates as expected
- All variables are passed as expected
- When running the user's endpoint (With the given api key) they are all returned from curl
I can't quite work out why userList is 0.
Summary
The developer is experiencing an issue where the userList is returning 0 despite confirmation of more than 0 users. The code involves a Flutter x Cloud solution with a cron job for free trial expiration. The cron job runs properly, variables pass as expected, and querying the user's endpoint directly returns all users. The problem lies in the userList fetching logic.
Solution:
Check for potential issues in the users.list function or ensure proper parameters are being passed for fetching the user list. Double-check API key permissions and data retrieval steps to troubleshoot the userList returning 0.