audius-protocol
audius-protocol copied to clipboard
Discovery node return tracks as downloadable while streaming url returns 403
In this issue I will use https://discoveryprovider.audius.co
as the endpoint.
Expected Behavior:
https://discoveryprovider.audius.co/v1/tracks/VQb0N should be returning downloadable: false because it is deleted.
Current Behavior:
https://discoveryprovider.audius.co/v1/tracks/VQb0N returns downloadable: true while https://discoveryprovider.audius.co/v1/tracks/VQb0N/stream redirects to https://creatornode2.audius.co/tracks/stream/VQb0N which returns a 403 code because the CID is blacklisted (likely because it is marked as deleted)
I am pretty sure this is unwanted behavior, because I have in the past encountered deleted tracks and they were marked as downloadable: false
Actually it seems that there is the same problem but the other way.
https://discoveryprovider.audius.co/v1/tracks/b9ZBk is returning downloadable: false but https://discoveryprovider.audius.co/v1/tracks/b9ZBk/stream is actually working and returning the track
Maybe I don't understand the downloadable field but for me it means: Whether a track is streamable or not.
Has this issue been fixed?
I've checked both of my example links and it seems like not, My response to this was to check directly the stream URL if you're getting a 200 status code it's good