Closed prkhandelwal closed 3 years ago
If the code works fine locally, but not when it's deployed, then there's probably a problem when the Azure tries to communicate with Genius. So I don't think this is an issue with the package, rather with the deployment. Setting genius.verbose=True
can help with finding out which part of the search has failed.
Describe the bug Receiving
Result: Failure Exception: TypeError: 'NoneType' object is not subscriptable
when callinggenius.search_song
. The app is an Azure Function serverless app. The code works fine locally, but the error comes when when it is deployed.To Reproduce
genius.search_song
after initializing genius client