You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/03/27 15:31:03 UTC

[GitHub] [couchdb] nickva opened a new pull request #2726: Return a 400 error code for an invalid update sequence

nickva opened a new pull request #2726: Return a 400 error code for an invalid update sequence
URL: https://github.com/apache/couchdb/pull/2726
 
 
   Currently we return a 500 but a 400 return code makes more sense
   
   ```
   $ http  $DB1/db1/_changes?since=0-1345
   
   HTTP/1.1 400 Bad Request
   
   {
       "error": "invalid_since_seq",
       "reason": "0-1345",
       "ref": 442671026
   }
   ```
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] nickva merged pull request #2726: Return a 400 error code for an invalid update sequence

Posted by GitBox <gi...@apache.org>.
nickva merged pull request #2726: Return a 400 error code for an invalid update sequence
URL: https://github.com/apache/couchdb/pull/2726
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services