Emit an error on the last putback step if we get an unexpected
response from couchdb.