Good day everybody,
I’m struggling with uploading an XML file to the storage bucket. We use the cloud orchestrator. I have an App where a user can upload a file with information in an xml format. I am an administrator on the tenant and folders and have all rights/permissions when it comes to storage buckets. In my app I use a “file uploader” control to upload the file to the storage bucket. The app is deployed in the same folder as the storage bucket. When I upload the file, it follows the “completed” flow and I see the file in the storage bucket. But the content of the file is replaced with a html text concerning content security policy (You can find the HTML in the bottom of the post). If I upload the same file in the storage bucket through orchestrator (“myfolder”>Storage Bucket>Upload file) the content is not replaced. So it seems to be only happening if I do it through the app. I suspect I need to make a config change somewhere, but don’t know where or how and am apprehensive to start messing around in configs. If anyone can help, it would be much appreciated.
----html text----
@“<html lang=”“en”" style=““height:100%;scrollbar-width:none””><meta charset=““utf-8"”/><meta http-equiv=”“Content-Security-Policy”" content=“”“”/><meta name=““viewport”” content=““width=device-width,initial-scale=1"”/><meta name=”“theme-color”" content=“”#000000"“/><meta name=”“ui-version”" content=““09e284af””/><link rel=““icon”” href=““https://platform-cdn.uipath.com/portal/portal/favicon.ico””/><link rel=““manifest”” href=““https://platform-cdn.uipath.com/portal/portal/manifest.json””/><!–
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the public folder during the build.
Only files inside the public folder can be referenced from the HTML.
Unlike ""/favicon.ico"" or ""favicon.ico"", ""%PUBLIC_URL%/favicon.ico"" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
--><style>.uipathPlatform::-webkit-scrollbar{display:none}.uipathPlatform{-ms-overflow-style:none}body.light{background-color:#fff}body.dark{background-color:#182027}</style><!-- Adding Apollo Fonts to Cloud RPA --><link rel=""stylesheet"" href=""/portal_/apollo/packages/apollo-fonts/1/font.css?spaceName=portal""/><!-- Need the below to load portal-shell components properly --><script>document.addEventListener(""portalShellLoaded"",(()=>{window.PortalShell.initialize()}));const scriptTag=document.createElement(""script"");scriptTag.type=""module"";let scriptSrc=""/portal_/apollo/packages/portal-shell/3/portal-shell.esm.js?spaceName=portal"",accountName=window.location.pathname.split(""/"")[1]??"""";accountName&&!accountName.endsWith(""_"")&&(scriptSrc=`/${accountName}${scriptSrc}`),scriptTag.src=scriptSrc;const title=document.head.getElementsByTagName(""title"")[0];document.head.insertBefore(scriptTag,title)</script><title>UiPath</title><script defer=""defer"" src=""https://platform-cdn.uipath.com/portal/portal/static/js/834.4d1b39ad.js""></script><script defer=""defer"" src=""https://platform-cdn.uipath.com/portal/portal/static/js/index.a07a612c.js""></script><link href=""https://platform-cdn.uipath.com/portal/portal/static/css/834.1c443972.css"" rel=""stylesheet""><link href=""https://platform-cdn.uipath.com/portal/portal/static/css/index.3eacec01.css"" rel=""stylesheet""></head><body style=""height:inherit;margin:0"" class=""uipathPlatform apollo-design""><noscript>You need to enable JavaScript to run this app.</noscript><script src=""./env.js""></script><ap-shell id=""apollo-shell""></ap-shell><!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
--><!-- This script is for setting the body color based on the portal-shell's theme --><script>let theme=localStorage.getItem(""PORTAL_THEME"")?.toLowerCase()||""autotheme"",prefersDarkTheme=window.matchMedia&&window.matchMedia(""(prefers-color-scheme: dark)"").matches,isDarkTheme=""dark""===theme||""autotheme""===theme&&prefersDarkTheme;document.body?.classList?.add(isDarkTheme?""dark"":""light"")</script></body></html>"