We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Dec 8, 2022 5:43 AM
I could upload files successfully using the POST/files/v3/files/import-from-url/asyncAPI. However, the files uploaded are unusable as they don't open when downloaded. PFA the attached screenshots. All such uploaded files occupy a space of 73 KB.
Any idea, what is wrong here? Below is the request body.
URL: https://api.hubapi.com/files/v3/files/import-from-url/async
Body:
Dec 12, 2022 12:44 AM
Hi Jaycee, thanks for your reply. I retested the scenario and the issue still persists. Yes, the files are hosted in a publicly shared folder with edit access. You can use the same shared link for reproducing at your end. Your input on this is appreciated.
Regards, Bikram.
Dec 13, 2022 5:27 PM
Thanks, @BikramSahu 👋 I'll set up a test using your link.
One clue I see is that file size is that same for both of your uploads, and they are both behaving in the same unexpected manner. This makes me wonder if it is related to Google Drive and not the two files themselves. Thanks! — Jaycee
Dec 9, 2022 2:44 PM
Hey, @BikramSahu 👋 Is this issue persisting? If so, I can try to set up a similar test. Your files are hosted in a Google Drive folder with public permissions, correct?
Best,
Jaycee