URI Isn't Working For My App


URI Isn't Working For My App


Plan : Free

Device: Macbook Pro

Operating System

Latest IOS



I am trying to create an app that takes a text file with song and artist names on different lines and creates a playlist with each song in it. I am coding this in python and the issue I am getting is something with the URI as I am using authorization code flow.

It either says "Couldn't read cache at: .cache" or larger errors. I have created the app in the dashboard and used the following URI's: http://localhost or  or


I am not sure what to do. I have created a virtual environment to do this and have used this video as a reference: https://www.youtube.com/watch?v=jSOrEmKUd_c


I have done "export SPOTIPY_REDIRECT_URI = " with all of these different URIs and more. I have also tried to use client credentials flow but I am not understanding it as well. Not sure what to do now. Please let me know what I should use/do. Thanks!