How can I modify my code to make requests more rarely to avoid triggering this error message?