I am experiencing an issue with a PDF generation workflow in AppSheet.
Environment:
AppSheet app connected to OneDrive Personal
PDF generated using Automation (Create a new file task)
File stored in /GeneratedData folder
File column used to reference the generated PDF
Issue:
The PDF file is generated successfully and physically exists in OneDrive. However, when clicking the File column inside AppSheet, the file cannot be opened and AppSheet returns:
“Error retrieving file ‘/GeneratedData/KPLH.pdf’: URL has an invalid signature”
What I have verified:
The Automation task completes successfully.
The PDF file is created in OneDrive.
The file path stored in the File column exactly matches the generated file:
/GeneratedData/KPLH.pdf
The file can be opened directly from OneDrive.
I tested both:
/Files/
/GeneratedData/
I regenerated the table structure and synchronized the app.
The issue occurs even when the file exists and the path is correct.
Comparison:
I have another AppSheet application using the same OneDrive account and the same PDF generation pattern:
hy syam, thankyou for answering, i been trying and it still doesnt work , i still dont understand how to call file that we created on appshet, the file is created and i can see it on onedrive
Have you changed the Google drive folder from restricted to anyone with the link? And does a timestamp appear in the PDF file name? If so, disable the time stamp?
Thank you for sharing the detailed information regarding the issue.
To help narrow down the possible cause, could you please confirm whether the GeneratedData folder shown in your screenshot is located within the same parent folder that contains the app’s data source files (tables) in OneDrive?
In other words, we would like to verify if both:
The app data source files, and
The GeneratedData folder where the PDFs are being created
are stored under the same AppSheet app folder structure in OneDrive.
Since AppSheet is successfully generating the PDF but later reports an invalid URL signature when accessing it through the File column, confirming the folder structure will give us a useful starting point for further investigation.
If possible, please also share a screenshot of the folder hierarchy in OneDrive showing:
The app data source files
The GeneratedData folder
The generated PDF file
This information may help identify any differences between the application that works correctly and the one experiencing the issue.