thash / asana

Asana command line Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Avoid 400 Error when client got too large tasks

thash opened this issue · comments

curl -v output:

< HTTP/1.1 400 Bad Request
* Server nginx is not blacklisted
< Server: nginx
< Date: Fri, 15 Jan 2016 15:47:48 GMT
< Content-Type: application/json; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Asana-Content-String-Length: 243
< Pragma: no-cache
< Set-Cookie: TooBusyRedirectCount=0
< Cache-Control: no-store
< X-Asana-Preferred-Release-Revision: 20160115_003254_8b63d653235d6438de41d497b6c47880dfbd744d
< X-Robots-Tag: none
<
* Connection #0 to host app.asana.com left intact
{"errors":[{"message":"The result is too large. You should use pagination!","help":"For more information on API status codes and how to handle them, read the docs on errors: https://asana.com/developers/documentation/getting-started/errors"}]}%