If you’re getting an “Access Denied” error when processing a file, here’s what to check:
Step 1 – Check if the file link is publicly accessible
Make sure the file URL does not require a login.
Open the link in an Incognito/Private browser window → if it asks you to sign in, the file is not public.
If the file needs a username and password, include them in your API request using httpUsername and httpPassword parameters.
Step 2 – If using Google Drive/OneDrive/Dropbox or similar
Make sure the file’s sharing setting is set to “Anyone with the link”.
Avoid links to a “preview” or “viewer” page → use the direct file link.