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 Apps / HTML to PDF Works for ...
Power Apps
Answered

HTML to PDF Works for Me, but Not Others

(0) ShareShare
ReportReport
Posted on by 82

I have an app with Shane Young's HTML to PDF Flow.  I am using the flow one time in my app with great success.  However I am using the app in a second place and am getting a 404 error in Flows only when others use my app.

 

The weird thing is the data connections are the same in both places, but during the conversion step, I get error:

 

 

{
 "status": 404,
 "message": "The resource could not be found.",
 "source": "api.connectorp.svc.ms"
}

 

 

I have seen some comments that this happens because of Shared Folder location... however my other flow that uses the same location works every time.

 

Any ideas would be appreciated!

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @jKell this sounds like a Power Automate questions rather than a PowerApps one. You may be best asking over in that forum here

     

    https://powerusers.microsoft.com/t5/Forums/ct-p/FL_Comm_Forums

     

    From my read of your issue, it would seem to be a permissions problem either with the OneDrive folder (I'm assuming you are using this in your Flow?) and/or the Flow itself. Best asking on the other forums though.

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @jKell ,

     

    Could you please share more about the flow details?

    The error means the other users don't have permission to access to SharePoint folder. Sharing folders with users is not enough.

    You have to add all users into Group MemberShip of SharePoint, then the users will inherit SharePoint permission in Flow.      

    Snipaste_2020-03-03_12-27-43.png

    Sik                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • jKell Profile Picture
    82 on at

    I have two flows that both use the exact same location/connectors on my one drive for business.

     

    One of the flows works for all audiences

    1. Takes the parameters from PowerApps
    2. Writes an HTML file to OneDrive
    3. Converts the HTML content to PDF 
    4. Emails with attachment of PDF content
    5. Responds value back to PowerApps

    The other one does the exact same things in the same location, and for me it works, but others it doesn't.

     

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @jKell 

     

    OK. 

    Could you share the detailed flow steps and error message screenshot? 

    Could you try to create another flow with the same actions to check if the issue still remains?

     

    What I suggest is to convert HTML file to PDF on a company-public Sharepoint site instead of OneDriven for business.

    The SharePoint site should contain all users as members.

    Please try this alternative workaround to check if your issue is fixed.

    Sik

  • jKell Profile Picture
    82 on at

    @v-siky-msft 

    I am not seeing the Convert to PDF option in Sharepoint.  I only chose the OneDrive as they have the built in HTML to PDF conversion.  I will attempt re-building and let me know if it works.

  • Verified answer
    jKell Profile Picture
    82 on at

    To convert HTML to PDF, you have to use OneDrive for Business.

    I was able to fix the issue by rebuilding the Flow and using Convert file using path.  I have tested with different users and it is working.

     

    ConvertFile_OPTIONS.jpg

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard