Deleting a document that has already been deleted from the server causes an error
hortigado opened this issue · comments
@hortigado That's a good bug report. To confirm, reproduction steps:
- Delete a document that does not exist on the server
- Experience not found loop
Is that accurate?
@tshedor Correct, also if you want to update the document and it does not exist on the server it causes the same problem.
/// If the response returned from the client is one of these error codes, the request
/// **will not** be removed from the queue. For example, if the result of a request produces a
/// 404 status code response (such as in a Tunnel not found exception), the request will
/// be reattempted.
///
/// Defaults to `[404, 501, 502, 503, 504]`.
final List<int> reattemptForStatusCodes;
I only delete the error 404 of reattemptForStatusCodes and solved it problem. Regards