Not able to open generated report from appsheet

Hi,

I have created an app where it creates reports of my format. The report created is saved in my google drive. I can open those reports from google drive. However, I am not able to open those reports from App sheet itself. Check screenshots below. 

In Settings, my default app folder is 

diyorapiyush_0-1702876126255.png

In action, I am using this formula to save this text in report column,

diyorapiyush_1-1702876237535.png

In Auomation,

diyorapiyush_2-1702876342397.png

File Folder path is ,

diyorapiyush_3-1702876378259.png

File Name Prefix is,

diyorapiyush_4-1702876419143.png

When I generate report and click on open button, new tab opens and gives me this error,

 

        <html>
        <body style="margin:20px">
          <div>&#39;appsheet/Customer/A-0201-Ravi Ghelani.pdf&#39; not found</div>
          <div>Probable cause: N/A</div>
          <div><ul><div>
   <div>Path: Root</div>
   <div>Result: FAILURE</div>
   <div>Message: N/A</div>
   <details>
<ul>
<li><div>
      <div>Path: Root</div>
      <div>Result: FAILURE</div>
      <div>Message: N/A</div>
      <details>
<ul>
<li><div>
         <div>Path: Root</div>
         <div>Result: Success</div>
</div>
</li>
<li><div>
         <div>Path: Root</div>
         <div>Result: FAILURE</div>
         <div>Message: N/A</div>
         <details>
<ul>
<li><div>
            <div>Path: Root</div>
            <div>Result: FAILURE</div>
            <div>Message: N/A</div>
            <details>
<ul>
<li><div>
               <div>Path: Root</div>
               <div>Result: FAILURE</div>
               <div>Message: N/A</div>
               <details>
<ul>
<li><div>
                  <div>Path: Root</div>
                  <div>Result: FAILURE</div>
                  <div>Message: N/A, Searching for &#39;appsheet&#39;, File entry not found</div>
                  <details>
<ul>
</ul>
</details>
</div>
</li>
</ul>
</details>
</div>
</li>
<li><div>
               <div>Path: Root</div>
               <div>Result: FAILURE</div>
               <div>Message: N/A, Searching for &#39;Customer&#39;, File entry not found</div>
               <details>
<ul>
</ul>
</details>
</div>
</li>
</ul>
</details>
</div>
</li>
<li><div>
            <div>Path: Root</div>
            <div>Result: FAILURE</div>
            <div>Message: N/A, Searching for &#39;A-0201-Ravi Ghelani.pdf&#39;, File entry not found</div>
            <details>
<ul>
</ul>
</details>
</div>
</li>
</ul>
</details>
</div>
</li>
</ul>
</details>
</div>
</li>
</ul>
</details>
</div>
</ul></div>
        </body>
        </html>
        

I am not able to find the solution. Please help me out. 

Let me know if you need anything else from my side to more about the app

@Steve @TeeSee1 @1minManager @Aurelien @Suvrutt_Gurjar @AleksiAlkio @Landan_QREW @Koichi_Tsuji 

 

0 4 236
4 REPLIES 4

The default folder has affect ONLY when the Bot generates the file. Now you have a file column where you specify the file name and the path. The path in your formula needs to start from the folder where your main spreadsheet is. If it would be in the Root, it would find it.

 

In general, the bot settings look good.

Hope you have ensured that you have disabled the following setting of "disable Timestamp" in the bot.

This is so because in the action name when you are defining the file name, the timestamp part is not included. I believe it is of course better to disable the timestamp from the bot and include one from the app record if necessary so that while constructing the file name you can use that timestamp column value from the record.

Suvrutt_Gurjar_1-1702885738781.png

 

We are having the same issue here.  We have changed the default location for the files to live, and it was working for over 3 months.  Now, it throws the same error as in this thread.  We can still open some older files, but newer ones throw the error.

To understand the reason, please give all possible details from your case.

Top Labels in this Space