RevolutionAnalytics / AzureML

An R interface to AzureML(https://studio.azureml.net/) experiments, datasets, and web services.
Other
46 stars 22 forks source link

In callAPI() break immediately for certain types of errors #47

Closed andrie closed 8 years ago

andrie commented 8 years ago

Not all errors returned by a 400 response is because the service isn't available.

Sometimes the error code contains helpful debugging information.

In these cases, callAPI() should break immediately, rather than retrying several times.

bwlewis commented 8 years ago

It's a good point, but the API we're talking to remains unpublished. We don't really know what it's going to return to us...

andrie commented 8 years ago

I have new information that the error code 503 is used for the situation where the webservice is still initializing. I added the new issue #49 to describe this.