Microsoft's own answer is relayed unchanged under Microsoft. Any Microsoft 4xx is returned as 422; 5xx as 502.
Microsoft.Status | Microsoft HTTP | Returned as | Means |
|---|---|---|---|
Accepted | 200 | 200 | Usage recorded |
Duplicate | 409 | 409 | Microsoft already had this subscription, dimension and hour |
ResourceNotFound | 400 | 422 | Microsoft does not know the subscription |
ResourceNotAuthorized | 403 | 422 | The publisher is not allowed to report for this resource |
ResourceNotActive | 400 | 422 | Subscription suspended or not yet activated |
InvalidDimension | 400 | 422 | Dimension not in the subscription's plan |
InvalidQuantity | 400 | 422 | Quantity must be greater than zero |
BadArgument | 400 | 422 | Malformed request |
Expired | 400 | 422 | effectiveStartTime older than 24 hours at Microsoft |
InternalServerError and other 5xx | 5xx | 502 | Retry with the same effectiveStartTime |