google workspace account permissions

Hello community,

I am making an app that uses a bot to create a PDF file after saving the data and saves the path where the file is located in the Doc field so that it can be opened. I made the app with my personal Google account and everything worked perfectly, but when I do the same with a Google Workspace account the PDF does not open and I have this error.

  <html>
        <body style="margin:20px">
          <div>'/appsheet/data/Report-803998707/Files/doc-6.pdf' 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</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 'appsheet', 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 'data', 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 'Report-803998707', 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 'Files', 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 'doc-6.pdf', 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 have already checked that the path is correct, that the file has been created, but for some reason the PDF file does not open, can you help me please?