C2W2 get_token Bad Request for url: https://accounts.spotify.com/api/token

Programming Assignment: Assignment 2: Batch Data Processing from an API.
Execution of get_token function gets Error: 400 Client Error: Bad Request for url https : / /accounts . spotify. com/api/token.
Lab Id: huainuzcrdty

Hey @ADiazL
Did you change anything in the cells in part 2.1? Apparently, your code block is trying to access https : / /accounts . spotify. com/api/token which is invalid. The correct address would be https://accounts.spotify.com/api/token.

Thanks Amir_Zare, the 400 Client Error was caused because I didn’t replace correctly the values of client_id and client_secret. I maintained the <> and didn’t enclose the values between apostrophes “”.