web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / { "error": { "code": 4...
Power Automate
Unanswered

{ "error": { "code": 401, "message": "The response is not in a JSON format.", "innerError": "Cannot read server response." } }

(0) ShareShare
ReportReport
Posted on by 45

I have a powerapp which gets data from PowerBi dataset. 

The flow triggers from the app when user clicks on a button to view his items, and user's email is getting the flow triggered. but for some users the flow throws error.

Please look at the error and flow. 

zainab1_0-1709641083571.png

zainab1_2-1709641221057.png

 

Error on app

zainab1_1-1709641168134.png

 

 

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @zainab1 

    The 401 error code mean unauthorized which means the users who click the button have no access to your dataset.

    You need to check if the user have dataset read and build permissions, For more information, you can refer to :
    Manage semantic model access permissions - Power BI | Microsoft Learn

    Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft Learn

     

    Or you can share your flow with run only user with the special connection.

    For more information, you can refer to :

    Manage owners and users in your Microsoft list flows with Power Automate | Microsoft Learn

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 389

#2
Vish WR Profile Picture

Vish WR 331

#3
David_MA Profile Picture

David_MA 298 Super User 2026 Season 1

Last 30 days Overall leaderboard