cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

HTML to PDF Works for Me, but Not Others

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate III
Advocate III

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

View solution in original post

6 REPLIES 6
Highlighted
Super User
Super User

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.

Highlighted
Community Support
Community Support

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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Highlighted
Advocate III
Advocate III

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.

 

Highlighted
Community Support
Community Support

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

Highlighted
Advocate III
Advocate III

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.

Highlighted
Advocate III
Advocate III

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

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,760)