Azure / Azure/azureml-examples

I deployed Prompt Flow, and I got an error "failed with status 502" when I tested endpoint.

Open
#2,551 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
2k
Forks
1.7k
Avg merge
18h 18m
Merged PRs (30d)
2

Description

### Operating System

Windows

### Version Information

azure-ai-ml 1.9.0

### Steps to reproduce

1. Created prompt flow
2. Added two chains to the prompt flow.
3. Deployed prompt flow
4. Assigned AzureML Data Scientist role to Workspace.
5. Tested endpoint

### Expected behavior

I wanted to test deployed endpoint.

### Actual behavior

Failed to test endpoint.
{"error":{"code":"SystemError","message":"Open url /subscriptions//resourcegroups//providers/Microsoft.MachineLearningServices/workspaces/firstworkspace/connections/secrets/listsecrets?api-version=2023-04-01-preview failed with status code: 502, action: listsecrets, reason: { \"error\": { \"code\": \"UserError\", \"severity\": null, \"message\": \"Identity(object id: a14e3d"}}

### Addition information

_No response_

Contributor guide

Open the contributing guide

Research direction

No repository file or test is identified in the report. Start by reproducing the Windows deployment and endpoint test with azure-ai-ml 1.9.0, then investigate the 502 response from the listsecrets action and the assigned workspace role; done means the deployed endpoint can be tested successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.