Error in fetching connection keys AxiosError: Request failed with status code 401 logic app in vs code

G Pavan Kumar 0 Reputation points
2025-11-12T11:53:01.9+00:00

Hello Azure Support Team,

I am facing an issue while working with a Logic App (Standard) project in Visual Studio Code. Whenever I try to make any changes and save the workflow in the Logic App Designer, I receive the following error:

"Error in fetching connection keys for

/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.Web/connections/<connection-name>.

AxiosError: Request failed with status code 401

Source: Azure Logic Apps (Standard)

Workflow not saved. Error in fetching connection keys..."

Because of this, I am unable to save any updates or deploy the workflow successfully.

image (47)

image (45)

image (44)

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Praveen Kumar Gudipudi 1,495 Reputation points Microsoft External Staff Moderator
    2025-11-12T12:04:34.44+00:00

    Hello G Pavan Kumar,

    Reauthenticate the Connection

    • In the Logic App Designer, go to the Connections tab (top bar).
    • Find your x12 connection.
    • Click Edit (or Reconnect) and sign in again using valid credentials.
    • Save the Logic App after reconnecting.

    User's image

    Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.

     User's image

    0 comments No comments

Your answer

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