-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
CloudException: Internal Server Error when Using ListMetricsAsync Method #3769
Comments
@shahabhijeet this is not Fluent specific. @AMoghrabi was using Inner to make a call which means that it was auto generated code. This needs to be investigated with the AppService team. |
Is there a different way to access that method without using inner? |
Also, should I open my issue on a different repository? |
I am experiencing the same issue. Any update? |
Hey Check out my SO post about this -- someone replied with a decent solution: |
@AMoghrabi - Thank you! |
You're welcome! Good luck. |
I'm using
Microsoft.Azure.Management.AppService.Fluent
to collect information about my App Service Plans. The method I'm using is ListMetricsAsync.My first problem is, the documentation says that the
filter
argument is optional. This is incorrect as the underlying web API throws an exception:I've tried supplying an empty string but that does not work.
It looks like I must supply a filter so I try that... However, supplying a filter seems to return
Microsoft.Rest.Azure.CloudException : Operation returned an invalid status code 'InternalServerError'
Here is my code:
I assume that my filter has incorrect syntax. Can you please advise what I need to do to get this working?
Thanks!
The text was updated successfully, but these errors were encountered: