0

When I tried other rest apis for Azure Mangement, it works without any issue. But when I try this recommendedElasticPools , I am getting internal server error all times.

{
  "code": "InternalServerError",
  "message": "There was an internal server error that occurred during this request.",
  "target": null,
  "details": [],
  "innererror": []
}
Bruce Chen
  • 18,207
  • 2
  • 21
  • 35
Akshay Joy
  • 1,765
  • 1
  • 14
  • 23
  • From the error response, we could not find any useful info. Which method (`Get`, `Get Databases`, etc.) does not work from [Recommended Elastic Pools](https://learn.microsoft.com/en-us/rest/api/sql/recommendedelasticpools) REST API? Have you tried to access [resources.azure.com](https://resources.azure.com), choose "recommendedElasticPools" under your database server to see whether you could retrieve the expected result? – Bruce Chen Apr 26 '17 at 02:07

1 Answers1

1

We had a problem with this API that should be fixed now. Thanks for reporting this. The API you were calling is on the deprecation path and I recommend using new API instead:

/subscriptions/{SubscriptionId}/resourcegroups/{GroupName}/providers/Microsoft.sql/servers/{ServerName}/elasticPoolEstimates/

vvasic-MSFT
  • 219
  • 1
  • 2