Fix excessive retries when getting an invalid resource error back from the server.
Fix excessive retries when getting an invalid resource error back from the server.

eTilbudsavis/native-ios-eta-sdk,shopgun/shopgun-ios-sdk,shopgun/shopgun-ios-sdk