Announcements

Help Wizard

Step 1

NEXT STEP

release date discrepancy

Solved!

release date discrepancy

I have print code for the release date (print("Data premiery:", release_date)). There is a different date in spotify and different in print for the same release. 

 

Release: https://open.spotify.com/album/1CSWCjpem975OAr1HyOE7M 

Release date in spotify: 2023-08-25

Release date from API: 2023-08-18

 

Where does this discrepancy come from? Maybe there is a different object for the release date that shows in spotify?

Reply

Accepted Solutions
Marked as solution

Tail wagging hello to you Baxy!

Unfortunately, I couldn’t find any official statement from Spotify regarding this issue. From what I can see it seems like there might be an issue with the data source you're using to fetch the release date. Spotify's API and the web interface should ideally display the same release date for an album. Double-check your API request and ensure you're using the correct endpoint to retrieve the release date. Make sure you're handling time zones properly as well. 
Give me a howl when you get a chance,

 

-Prague the Dog 

View solution in original post

3 Replies
Marked as solution

Tail wagging hello to you Baxy!

Unfortunately, I couldn’t find any official statement from Spotify regarding this issue. From what I can see it seems like there might be an issue with the data source you're using to fetch the release date. Spotify's API and the web interface should ideally display the same release date for an album. Double-check your API request and ensure you're using the correct endpoint to retrieve the release date. Make sure you're handling time zones properly as well. 
Give me a howl when you get a chance,

 

-Prague the Dog 

Indeed, it turned out that I had a bug in the code that was incorrectly assigning a release ID to the release date check. Thanks for the help.

Pawsitively my pleasure! 

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random