Bitcoin Forum

Economy => Exchanges => Topic started by: rob2360a on April 14, 2014, 11:21:36 AM



Title: bitstamp - API woes
Post by: rob2360a on April 14, 2014, 11:21:36 AM
Bitstamp API is broken again. Why run an API through Incapsula? I am apparently DOS'ing them with a request of my account balance once every minute! Not even a JSON error message back but a captcha page back. How is my code supposed to handle that one? Duh!

calling BS post: https://www.bitstamp.net/api/balance/
error encountered: 757: unexpected token at '<html><head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><meta name="format-detection" content="telephone=no"><meta name="viewport" content="initial-scale=1.0"></head><body style="margin:0px"><iframe src="/_Incapsula_Resource?CWUDNSAI=23&incident_id=151008670124029834-954898876338746938&edet=12&cinfo=d5abc5dc957e4abb08000000" frameborder=0 width="100%" height="100%" marginheight="0px" marginwidth="0px">Request unsuccessful. Incapsula incident ID: 151008670124029834-954898876338746938</iframe></body></html>


Title: Re: bitstamp - API woes
Post by: phase5 on April 14, 2014, 12:31:49 PM
I also got Problems:
PHP Fatal error:  Uncaught exception 'Exception' with message 'Invalid data received, please make sure connection is working and requested API exists' in myscript


Title: Re: bitstamp - API woes
Post by: riddler on April 15, 2014, 05:06:49 PM
Same here, getting Incapsula errors past two days.


Title: Re: bitstamp - API woes
Post by: aim6i on April 15, 2014, 05:55:08 PM
Same here. Seemed to working again yesterday for a short time, now it's broken again.


Title: Re: bitstamp - API woes
Post by: rob2360a on April 15, 2014, 07:09:37 PM
problems continue - now I am getting all my POST variables being wiped out.

calling BS post: https://www.bitstamp.net/api/balance/
{"nonce"=>"1234",
 "key"=>"1234",
 "signature"=> "1234"}

returns
{"error"=>"Missing key, signature and nonce parameters"}

 


Title: Re: bitstamp - API woes
Post by: fluxist on April 15, 2014, 07:30:29 PM
Same. When they aren't failing due to the incapsula page, the POST /api/xxx calls are getting a 302 redirect to GET /api/xxx. And of course failing.


Title: Re: bitstamp - API woes
Post by: MoreFun on April 16, 2014, 12:33:29 AM
They should fix this thing. Sending any post data to even the "ticker" api results in this error.


Title: Re: bitstamp - API woes
Post by: LeChatNoir on April 16, 2014, 05:01:49 AM
The sad truth is these people are not more professional then MtGox programmers.  :-\


Title: Re: bitstamp - API woes
Post by: rob2360a on April 16, 2014, 06:38:34 AM
ok seems to be working for me now.


Title: Re: bitstamp - API woes
Post by: Rannasha on April 16, 2014, 06:42:20 AM
ok seems to be working for me now.

Working again here as well.


Title: Re: bitstamp - API woes
Post by: Jouke on April 16, 2014, 08:38:58 AM
problems continue - now I am getting all my POST variables being wiped out.

calling BS post: https://www.bitstamp.net/api/balance/
{"nonce"=>"1234",
 "key"=>"1234",
 "signature"=> "1234"}

returns
{"error"=>"Missing key, signature and nonce parameters"}

 

still having this problem


Title: Re: bitstamp - API woes
Post by: aim6i on April 16, 2014, 05:01:12 PM
Working on my side as well