When I create a Prompt flow in Azure AI studio and try to deploy it I continue to get an issue with the endpoint trying to deploy which also causes the deployment to fail. I have done similar prompt flows on other orgs and it works correctly.
When the Azure Machine Learning Endpoint fails the details are empty including the logs and I only have this message: Endpoint "xxx" creation failed
The deployment then fails with the following message:
Prompt flow deployment "xxx" of endpoint "xxx" failed
Creating deployment
Hide details
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\":\"xxx\"}"}}", "details": [], "additionalInfo": [] } ], "additionalInfo": [ { "type": "ComponentName", "info": { "value": "managementfrontend" } }, { "type": "Correlation", "info": { "value": { "operation": "xxx", "request": "xxx" } } }, { "type": "Environment", "info": { "value": "eastus" } }, { "type": "Location", "info": { "value": "eastus" } }, { "type": "Time", "info": { "value": "2024-08-28T19:49:24.0179234+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: xxx c x-ms-correlation-request-id: REDACTED x-ms-routing-request-id: REDACTED X-Cache: REDACTED X-MSEdge-Ref: REDACTED Date: Wed, 28 Aug 2024 19:49:23 GMT Content-Length: 1414 Content-Type: application/json; charset=utf-8 Expires: -1