Repair existing code

Job ID: 31168728

Budget: ₹600 – ₹1,500 INR

I have an existing code that uses the APIs of Spotify written in Python, it is showing an authentication error, that's why I cannot run it. I need someone to fix it. I'm attaching the details.
Related categories: Python API