Azure / Azure/azure-rest-api-specs
There is no error message in response while failing to create app service plan
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
Symptom:
After tested, I found that there is no error message in response, no error message in ServiceError and no StatusCode since they all are nil while failing to create app service plan. It should return the error message in response.
Rest api call:
```
PUT https://management.azure.com/subscriptions/xx-xx-xx-xx/resourceGroups/example-asp-resources/providers/Microsoft.Web/serverfarms/api-appserviceplan-pro
{
"kind": "Linux",
"location": "eastus2",
"properties": {
"reserved": true,
"isXenon": false
},
"sku": {
"name": "I3",
"tier": "Isolated",
"size": "I3",
"capacity": 1
},
"tags": {}
}
```
Result:

Contributor guide
Research direction
Start by reproducing the shown PUT request for the Azure app service plan and inspect the failure response, ServiceError, and StatusCode handling. Trace the relevant REST API specification and error response definitions; done means a failed create request returns the error message and populated error metadata instead of nil values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100