Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.5k stars 4.92k forks source link

[LogicApp] Throws RequestFailedException exception, but actually creates successfully #20428

Open dvbb opened 1 year ago

dvbb commented 1 year ago

After calling the IntegrationServiceEnvironments_CreateOrUpdate method and waiting for the deployment to finish, the API will return the following error, but the resource is actually created and can be obtained through the REST API Get method

RestApi return

Azure.RequestFailedException: Encountered internal server error. The tracking Id is '*******-*********-*******-********'.
Status: 200 (OK)
ErrorCode: InternalServerError

Portal operation log

{
    "status": "Failed",
    "error": {
        "code": "ResourceOperationFailure",
        "message": "The resource operation completed with terminal provisioning state 'Failed'.",
        "details": [
            {
                "code": "InternalServerError",
                "message": "Encountered internal server error. The tracking Id is '******-******-*****-*****-******'."
            }
        ]
    }
}
ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-logicapps-team.

Issue Details
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Logic/integrationServiceEnvironments/{integrationServiceEnvironmentName} - Operation Id: IntegrationServiceEnvironments_CreateOrUpdate After calling the `IntegrationServiceEnvironments_CreateOrUpdate` method and waiting for the deployment to finish, the API will return the following error, but the resource is actually created and can be obtained through the REST API Get method #### RestApi return ``` log Azure.RequestFailedException: Encountered internal server error. The tracking Id is '*******-*********-*******-********'. Status: 200 (OK) ErrorCode: InternalServerError ``` #### Portal operation log ``` log { "status": "Failed", "error": { "code": "ResourceOperationFailure", "message": "The resource operation completed with terminal provisioning state 'Failed'.", "details": [ { "code": "InternalServerError", "message": "Encountered internal server error. The tracking Id is '******-******-*****-*****-******'." } ] } } ```
Author: dvbb
Assignees: -
Labels: `Logic App`, `Service Attention`, `Mgmt`
Milestone: -