Which errors should my script never repeat unchanged?
403, 404, 422 and 409: the request is wrong for the current state.
After 409 STALE_LOCK_VERSION, read the thing again and rebuild the change
before sending it. After 401 with a key, stop: the key is no longer valid.