Adds an extra retry case (and test) for our server sending a "Could not create device" error message, so that it follows the same retry strategy as the other unrecoverable cases (such as badDeviceToken, badJWT, or deviceNotFound). Currently it retries forever with exponential backoff, but this isn't a network error, so it isn't recoverable.
...
Why?
A customer has a case where the above error message was making his client infinitely retry.
...
… API response, and test for this.
What?
Adds an extra retry case (and test) for our server sending a "Could not create device" error message, so that it follows the same retry strategy as the other unrecoverable cases (such as badDeviceToken, badJWT, or deviceNotFound). Currently it retries forever with exponential backoff, but this isn't a network error, so it isn't recoverable. ...
Why?
A customer has a case where the above error message was making his client infinitely retry. ...