Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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!

  • Verified answer
    jKell Profile Picture
    82 on at
    Re: HTML to PDF Works for Me, but Not Others

    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

  • jKell Profile Picture
    82 on at
    Re: HTML to PDF Works for Me, but Not Others

    @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.

  • v-siky-msft Profile Picture
    on at
    Re: HTML to PDF Works for Me, but Not Others

    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
    Re: HTML to PDF Works for Me, but Not Others

    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
    on at
    Re: HTML to PDF Works for Me, but Not Others

    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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Community Power Platform Member Profile Picture
    on at
    Re: HTML to PDF Works for Me, but Not Others

    @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.

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

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard