The issue
I am working on a program in javascript that uses Remix.js to upload two songs. Today the program has stopped working (I receive 401 access denied) without any modification of my own and I am trying to figure out what happened.
My Method
The uploads are done in a similar manner as given in the example sandbox.html
1. Track 1 is locally uploaded through a form post (from sandbox.html) to https://s3.amazonaws.com/static.echonest.com
2. Track 1 is analyzed, trid of that track is stored in sessionStorage
3. Track 2 is then locally uploaded, analyzed and its trid stored in sessionStorage
4. The getProfile method for remix.js is called both of these tracks to get the songs urls in s3.
What I got so far
Before today, i was able to have both songs load perfectly fine. However, today I get a track id error for the first track. The second track loads fine. After some debugging I have found:
1. After the analysis is finished, I noticed that within a few seconds calling getProfile would return "{"status": false, "url": ""}"
2. After the analysis is finished, I am able to play the audio url ,but within a couple of seconds I receive 401 access is denied
3. I have also seen other unordinary things happening today
- 0 seconds for analysis
- Long pending times
- some tracks uploaded for analysis went pending, analysis, pending, error in that order
The error is: Failed to retrieve URL: http://static.echonest.com/remix_audio/.../6438.mp3 (response code: 403)
Sorry if my post was too long, just wanted to make sure I was as detailed as possible. If anyone can help me with this issue (I would like to be able to upload songs sequentially again) It would be greatly appreciated. Thanks.