You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#17 App Service Operations Return Abnormal 404 and 409
Numerous Create, Delete, Update and Reboot operations in the App Service Swagger spec return abnormal 404 and 409. Developers will not be able to differentiate request succeeded OR accepted versus resource was not found OR there is a conflict. When a resource is not found or there is a conflict, an exception will not be thrown.
If an operation encounters an abnormal condition that it cannot handle, it should throw an exception. If an operation is throwing an exception for an abnormal condition that we feel that developers should consciously decide how to handle, then throw a checked exception in a client library with sufficient information. A client library cannot through an exception if an operation does not define errors in Swagger.
Are these 404 and 409 definitions intentional?
Here is a SAMPLE list of those 404 and 409 occurrences -
#17 App Service Operations Return Abnormal 404 and 409
Numerous Create, Delete, Update and Reboot operations in the App Service Swagger spec return abnormal 404 and 409. Developers will not be able to differentiate request succeeded OR accepted versus resource was not found OR there is a conflict. When a resource is not found or there is a conflict, an exception will not be thrown.
If an operation encounters an abnormal condition that it cannot handle, it should throw an exception. If an operation is throwing an exception for an abnormal condition that we feel that developers should consciously decide how to handle, then throw a checked exception in a client library with sufficient information. A client library cannot through an exception if an operation does not define errors in Swagger.
Are these 404 and 409 definitions intentional?
Here is a SAMPLE list of those 404 and 409 occurrences -
HostingEnvironments.createOrUpdateHostingEnvironment()
HostingEnvironments.deleteHostingEnvironment()
HostingEnvironments.rebootHostingEnvironment()
HostingEnvironments.createOrUpdateMultiRolePool()
HostingEnvironments.createOrUpdateWorkerPool()
ManagedHostingEnvironments.createOrUpdateManagedHostingEnvironment()
ManagedHostingEnvironments.deleteManagedHostingEnvironment()
The text was updated successfully, but these errors were encountered: