Forums » Bugs & Problems Search

API Key Not Allowed New Reply

Author Post
Posts: 3
Registered: Nov 29, 2011

Hi,

I tried using curl to post the contents of output.txt (contains json output from codegen) to:

curl -X POST -d output.txt http://developer.echonest.com/api/v4/song/identify?api_key=GMAJFPQ0YZPSTTMKD

and got the following error:

{"response": {"status": {"version": "4.2", "code": 2, "message": "api_key - API key not allowed: "GMAJFPQ0YZPSTTMKD" is not allowed to call this method"}}}

Below is the contents of output.txt

[ {"metadata":{"artist":"Colbie Caillat", "release":"Breakthrough (Deluxe Version)", "title":"I Won't", "genre":"Pop", "bitrate":277,"sample_rate":44100, "duration":225, "filename":"iwont.mp3", "samples_decoded":4966838, "given_duration":0, "start_offset":0, "version":3.16, "codegen_time":3.684098, "decode_time":1.163600}, "code_count":711, "code":"eJw1mgei5CYQRK80ZDgO8f5H8Hv6a-8ug0iCDtXVyL_f91_JFM1amxTDYl6KZW3bu308neJGild_v-CEEOgNNoVkLW2KEi2YEZq1Zlt3xnSI6wWXi_zhL70x0BtdJUZeGX1jzLwtukqstrVs4WO3YzpjOdf14nHGtXZpS79sweAUfczRglUSsyisuV4aFu4qLTt2tXCaS6XHuOxS2aVy4L05WnOZnFk5F2uul5s11_M9FA5evDefr3Dws8NFS7BIFm6tZBYthRmlskBp1rodQ-1Ma6tasEpxf-U47rrAs_Zoqz-mVSVZo0W2KAyp1VplblW_tTvYRetyxrZD1VbXaz8L9dOShas0V2kaSFOXrfPKNj5zcYirtM16zVM2DaSphfbo6G6ou15P0YKluqrtWl0vjOvKr6vVPhwyfXTR7qL9uID20rW6odkNtTrUwlALQysZlRlDrQ6tZAw7VMA4X8GiQ62OS-9Uq9OjTlUxE3OnqpgqdLrUVKHTpaZHncOaVjIXteU2lnN9xW95rKUal3pbff9znuVh1uJta7PoUm_rWlNl2x1sJbRV2c70bu1g12jhEIW9tSv1ROEMV9nKWbP_Hf3vRKYdRXz0waOIT7FX4RwPczzM8TDHXR1N6hzb1JYSpqDjqq2rdK8LXHV09eSrE191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yXuJ_lARJp_wG29uu34BieDkxIMuJyO--jUHEgO19voVVgHfzoYDiMLT37E93HB9d6Xyp3r87jnl46v9xRG_p54vjpAFk45hN3H78RQe9UiqSvPyvBEtUOHKO5jHQ0i8GfjlRjj-_scMGsH_0Px4bp5CPqCpmafoJzfLt2RACMNPulU_KbkYTDDfYCXknxEcr8qShQ8YI93oefQNZs-3_cBB_nH24C-BcIkJd20vUPKglVMYy7vVfhucLs9x-ejvsfRa8LiQ==", "tag":0} ]

Posts: 1076
Registered: Sep 08, 2008

Hi RJ - Your API key wasn't fully configured. I've updated it. Try again, it should work now. -- Paul

Posts: 3
Registered: Nov 29, 2011

It's now working thanks :)

Reply to this Thread

You must log in to post a reply.