Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

HTTP 403 Forbidden: When call SharePoint API REST

(0) ShareShare
ReportReport
Posted on by

Hi,

Actually, I need to get the information of an element in a JSON format, I am trying to use an HTTP call through the SharePoint Rest API but the generated error is: HTTP 403 Forbidden Access Denied.

INPUT:
Method: GET
URI: https://siteUrl/_api/web/lists/getbytitle('Contactenos')/items('27')

Headers:
{
"Accept": "application/json;odata=verbose",
"Content-Type": "application/json;odata=verbose"
}

OUTPUT:
StatusCode: 403

Body:
Manage your flows | Microsoft Flow
{ "error": { "code": "-2147024891, System.UnauthorizedAccessException", "message": { "lang": "es-ES", "value": "Acceso denegado. No tiene el permiso necesario para realizar esta acción o tener acceso a este recurso." } } }

how can I solve that?

 

 
 
  • JackHu Profile Picture
    16 on at
    Re: HTTP 403 Forbidden: When call SharePoint API REST

    Hi @LuchitaSP,

     

    I have the same issue as you, did you resolved it?

  • v-yamao-msft Profile Picture
    on at
    Re: HTTP 403 Forbidden: When call SharePoint API REST

    Hi LuchitaSP,

     

    How is the Swagger file configured?
    Please make sure there is no error code in your Swagger file.
    The error message says that you don’t have a permission to access. Could you also check the permission on your side?

     

    Best regards,
    Mabel Mao

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow