Skip to main content

Notifications

Community site session details

Community site session details

Session Id : XLg3TFZVosMD57wdWwho5J
Power Apps - Microsoft Dataverse
Unanswered

HTTP ERROR 401 on downloading file from Dataverse

Like (0) ShareShare
ReportReport
Posted on 26 Apr 2024 13:12:51 by 2,278

Hello,

 

I am able to download a file from a Dataverse table with my account.

 

This is the link:

 

https://xxx.crm4.dynamics.com/api/data/v9.2/cre05_exzxceiros(xcxz)/cre05_anexodsf/$value

However, my users can't download the file.

 

They get the error:

HTTP ERROR 401

 

These are the security role permissions for this user:

 

WebPortal_0-1714137334563.png

 

 

  • Nas1 Profile Picture
    5 on 29 Apr 2024 at 01:53:40
    Re: HTTP ERROR 401 on downloading file from Dataverse

    Hi All,

    I am also having this same issue.

    All users are having the 401 Error Issue, but it was working for me.

    However today I also get the 401 Error.

     

    If I copy & paste the hyperlink into Google Chrome, it works!

    Also if I run my app in Google Chrome, the download also works.

     

    I get the error when using Microsoft Edge.

     

    Thanks.

  • pavanmanideep Profile Picture
    481 on 26 Apr 2024 at 13:44:20
    Re: HTTP ERROR 401 on downloading file from Dataverse

    Hi @WebPortal 

     

    Take a remote session with your users and ask them to share screen, now you try to download the file from their machine.

     

    1. Open Developer Tools: Right-click on the webpage where the download link is located and select "Inspect" or press Ctrl+Shift+I (or Cmd+Option+I on Mac) to open the Developer Tools.

    2. Go to the Network Tab: In the Developer Tools window, navigate to the "Network" tab. This tab shows all network requests made by the webpage.

    3. Attempt to Download: Try to download the file again.

    4. Check for Errors: Look for the network request corresponding to the download in the list of network requests. The request will likely have a status of 401 (Unauthorized) if there is an issue with authorization.

    5. View Details: Click on the network request to view more details. Look for the "Response" tab or section, which will show the full HTTP response, including the status code (401) and any error messages.

    6. Check Headers: Check the request headers to see if there are any authentication headers (such as Authorization) being sent. Ensure that the correct authentication mechanism is being used and that the credentials are correct.

    Mostly this can be because users may not have right privileges on the file itself.

     

    If I have answered your question, please mark your post as Solved.

    If you like my response or got a direction forward to proceed, please give it a Thumbs Up at least. Appreciate your Kudos. You can accept more than one post as a solution.

     

    If you were still facing any issue or challenge, please do let me know so that I can try to check for you. Happy to help you further.

     

    Blog: https://ecellorscrm.com

     

    Cheers,

    PMDY

  • WebPortal Profile Picture
    2,278 on 26 Apr 2024 at 13:38:27
    Re: HTTP ERROR 401 on downloading file from Dataverse

    @Pavan_Mani_Deep 

    Yes, as mentioned, they get the error upon downloading the file:

     

    They get the error:

    HTTP ERROR 401

  • pavanmanideep Profile Picture
    481 on 26 Apr 2024 at 13:35:46
    Re: HTTP ERROR 401 on downloading file from Dataverse

    Hi @WebPortal 

     

    Do your users get any error message?

     

    If I have answered your question, please mark your post as Solved.

    If you like my response or got a direction forward to proceed, please give it a Thumbs Up at least. Appreciate your Kudos. You can accept more than one post as a solution.

     

    If you were still facing any issue or challenge, please do let me know so that I can try to check for you. Happy to help you further.

     

    Blog: https://ecellorscrm.com

     

    Cheers,

    PMDY

  • WebPortal Profile Picture
    2,278 on 26 Apr 2024 at 13:33:30
    Re: HTTP ERROR 401 on downloading file from Dataverse

    @Pavan_Mani_Deep 

     

    The owner of the record is another user, but both belong to the same BU.

  • pavanmanideep Profile Picture
    481 on 26 Apr 2024 at 13:22:55
    Re: HTTP ERROR 401 on downloading file from Dataverse

    @WebPortal , as you were able to download this...

     

    Who is the owner of the record, what is the owner business unit and what is your business unit?

     

    If I have answered your question, please mark your post as Solved.

    If you like my response or got a direction forward to proceed, please give it a Thumbs Up at least. Appreciate your Kudos. You can accept more than one post as a solution.

     

    If you were still facing any issue or challenge, please do let me know so that I can try to check for you. Happy to help you further.

     

    Blog: https://ecellorscrm.com

     

    Cheers,

    PMDY

  • WebPortal Profile Picture
    2,278 on 26 Apr 2024 at 13:20:29
    Re: HTTP ERROR 401 on downloading file from Dataverse

    @Pavan_Mani_Deep thanks, I've edited the post.

  • pavanmanideep Profile Picture
    481 on 26 Apr 2024 at 13:16:10
    Re: HTTP ERROR 401 on downloading file from Dataverse

    Hello @WebPortal 

     

    Please do provide the missing information in your post. Cant see neither the link nor the image.

     

    If I have answered your question, please mark your post as Solved.

    If you like my response or got a direction forward to proceed, please give it a Thumbs Up at least. Appreciate your Kudos. You can accept more than one post as a solution.

     

    If you were still facing any issue or challenge, please do let me know so that I can try to check for you. Happy to help you further.

     

    Blog: https://ecellorscrm.com

     

    Cheers,

    PMDY

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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,662 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics