Why am I getting this error when deploying a Prompt Flow endpoint?

AIDEN JAMES LANG 5 Reputation points
2024-08-26T23:06:23.4366667+00:00

Getting a weird error when deploying a Prompt Flow endpoint. This is the error:


The request is invalid. Status: 400 (The request is invalid.) ErrorCode: BadRequest Content: { "error": { "code": "BadRequest", "message": "The request is invalid.", "details": [ { "code": "InferencingClientCallFailed", "message": "{"error":{"code":"Validation","message":"{\"errors\":{\"\":[\"This endpoint has not been created successfully or is in deleting provisioning state. Please recreate endpoint and then try again to create deployment.\"]},\"type\":\"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\"title\":\"One or more validation errors occurred.\",\"status\":400,\"traceId\":\"00-a65de4d96e4f458796b18e9971c96226-01fac6fd028cf66a-01\"}"}}", "details": [], "additionalInfo": [] } ], "additionalInfo": [ { "type": "ComponentName", "info": { "value": "managementfrontend" } }, { "type": "Correlation", "info": { "value": { "operation": "a65de4d96e4f458796b18e9971c96226", "request": "b4d0d4506adfd1ef" } } }, { "type": "Environment", "info": { "value": "eastus" } }, { "type": "Location", "info": { "value": "eastus" } }, { "type": "Time", "info": { "value": "2024-08-26T23:02:30.9472712+00:00" } } ] } } Headers: Cache-Control: no-cache Pragma: no-cache x-ms-throttling-version: REDACTED Request-Context: REDACTED x-ms-response-type: REDACTED Strict-Transport-Security: REDACTED X-Content-Type-Options: REDACTED x-aml-cluster: REDACTED x-request-time: REDACTED x-ms-ratelimit-remaining-subscription-resource-requests: REDACTED x-ms-request-id: 1a93aa7e-5cc6-4a9c-be3d-9a036750308d x-ms-correlation-request-id: REDACTED x-ms-routing-request-id: REDACTED X-Cache: REDACTED X-MSEdge-Ref: REDACTED Date: Mon, 26 Aug 2024 23:02:30 GMT Content-Length: 1414 Content-Type: application/json; charset=utf-8 Expires: -1


No resource is in the process of deletion. This is a fresh resource group.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,846 questions
{count} vote

1 answer

Sort by: Most helpful
  1. romungi-MSFT 44,771 Reputation points Microsoft Employee
    2024-09-05T09:23:38.5166667+00:00

    @Katerina Chernevskaya Apologies for the delay. After checking internally, it seems like this issue is related to another issue with deployments that occurred last week. Here are the issue details from another thread.

    https://video2.skills-academy.com/en-us/answers/questions/1983847/error-while-creating-a-managed-online-endpoint-in

    In this case too, the same resolution should help after you delete the endpoint, register Microsoft.PolicyInsights service provider as part of your subscription and recreate the endpoint.

    To summarize:

    1. Delete the failed deployment.
    2. Make sure to register the the resource provider 'Microsoft.PolicyInsights'" in subscription pane from Azure portal.
    3. Recreate the endpoint.

    I hope this helps!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.