Specified sleep period exceeds maximum #248
-
Once again I am getting this error which seemed to resolve itself a few months ago but now it's coming back. A few weeks ago all my triggers failed with the message "Specified sleep period exceeds maximum" and a wait time of about 24000 seconds. I cancelled all of my triggers and didn't do anything for a week. When I returned, I slowly started manually triggering but the error message came back. I then created a new client which seemed to work for a few hours and slowly started adding more of my scripts to the editor but my play history trigger has been failing for the past 12 hours or so. Not entirely sure what to do anymore. Any suggestions? Here is the offending script although I think they all fail tbh
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Unfortunately, count limit in As a rule, Spotify has own history page. Possible you dont need to do it via goofy? Or just update such playlist once a day with saveWithUpdate. Let me know if you still want to use code from example. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Тоже столкнулся с такой проблемой. У меня она возникает, если второй раз за день использую функцию craftTracks(). На первый раз она срабатывает успешно создавая мне плейлист за 45.736 сек. Вторая попытка была спустя 3 с половиной часа. Бан на день, как я понимаю.
|
Beta Was this translation helpful? Give feedback.
Unfortunately, count limit in
Source.getPlaylistTracks
apply after get all tracks. So if you trigger fires every 15-30 minutes we have many request to Spotify in short period. Therefore API return shadow ban for 24000 seconds in your case.As a rule, Spotify has own history page. Possible you dont need to do it via goofy? Or just update such playlist once a day with saveWithUpdate.
Let me know if you still want to use code from example.