Share via

I got the error message "401, ReasonPhrase: 'PermissionDenied'"

2023-08-21T14:05:05.6866667+00:00

When I write a word to translate in the cognitive service, using DOTNET RUN, i get the following message:
StatusCode: 401, ReasonPhrase: 'PermissionDenied', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:

{

apim-request-id: eec62416-a9b6-4bc4-b42d-63cdeee417b6

Date: Mon, 21 Aug 2023 13:57:39 GMT

Content-Length: 224

Content-Type: application/json

}

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


2 answers

Sort by: Most helpful
  1. JOSÉ MÁRCIO FERREIRA VELASCO VELASCO 10 Reputation points
    2023-08-21T14:08:30.2833333+00:00

    This problem was solved.

    Was this answer helpful?

    1 person found this answer helpful.

  2. VasaviLankipalle-MSFT 18,736 Reputation points Moderator
    2023-08-21T22:25:56.18+00:00

    Hello @JOSÉ MÁRCIO FERREIRA VELASCO VELASCO , I'm glad that you were able to resolve your issue. You can share you solution if interested so that others experiencing the same thing can easily reference this!

    Was this answer helpful?

    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.