-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get com.microsoft.azure.CloudException: Status code 405 calling genericResources.checkExistence() [QUERY] #1241
Comments
FYI, both the successful and failed requests' httpMethod are "HEAD". The httpStatusCode of successful request is 404 and the one of failed request is 405. |
@SherryPan123 BTW, next release (should be 1.36.0) would be in 1 day or 2. That would upgrade resources service to latest api-version 2020-06-01, which now have
in |
about 80% tests failed |
Ehm, interesting thing is, I've run the tests 5 times in a row, all passes... Do you still have the response of the 405? It should be printed out with the test (not sure if it contains a json body).
|
I've noticed that the |
The api-version is taken from resource providers. If you are not using So maybe you are using a different resource type (hence different resource provider, and different api-version)? My response on it is (first in list is 2019-08-01, and no 2019-05-01-preview in the whole support list):
|
There is potential problem on |
Query/Question
https://github.com/Azure/azure-libraries-for-java/blob/master/azure-mgmt-resources/src/test/java/com/microsoft/azure/management/resources/GenericResourcesTests.java
Run test as above, after deleting resource
checkExistence() sometimes triggers "CloudException 405".
The stack is as follows:
Why did it happen and how to solve this problem?
Setup (please complete the following information if applicable):
com.microsoft.azure azure-mgmt-graph-rbac 1.34.0
The text was updated successfully, but these errors were encountered: