Skip to main content
Participant
October 14, 2021
Answered

Error 403 Forbidden - Submit button to upload PDF to OneDrive

  • October 14, 2021
  • 2 replies
  • 3908 views

Hello,

 

I am trying to distribute a form to others within my organization, and then create a submit button to allow them to submit the file and have the PDF uploaded to OneDrive. I have created a OneDrive shared library with access set to 'Public'. I have created the submit button in the form with a 'Submit PDF' on mouse up action. I have selected the 'PDF The complete document' radio button for the Submit Form Selections, as well as entered the URL for the OneDrive shared library. Upon testing, I click the submit button after filling out the form and I am given a generic error: 403 Forbidden

 

I have attached some screenshots. Thank you for any help anyone could provide.

This topic has been closed for replies.
Correct answer Thom Parker

The PDF submit feature sends data to a web site using an HTTP PUT operation.  This works for many different types of online resouces, but the OneDrive shared libary protocal seems to be more complicated. According to the OneDrive documentation a one drive "shared libary" is a resouce for "Microsoft Teams, SharePoint, or Outlook".  I didn't see anything about the actual HTTP operations that are used to upload a file. You'd need to know something about the underlying protocals that are used in order to understand if, and how, a simple HTTP Put could be used to upload a file.      

 

My impression is that its not possible to use a form submit to upload a file to OneDrive.

 

 

2 replies

Participant
September 21, 2023

403 Forbidden error while attempting to upload a PDF file to OneDrive. This error can occur due to various reasons, including:

  1. Browser cache: Clearing your browser cache might help resolve the issue.
  2. Permissions: Ensure that your permissions to the file have replicated correctly on the server.
  3. Locked OneDrive site: Check if your OneDrive site is locked.
  4. SharePoint Online services: An issue affecting your organization’s SharePoint Online services could be causing the error.
  5. Read More informative tips visit know: Insiderfield.com

 

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
October 15, 2021

The PDF submit feature sends data to a web site using an HTTP PUT operation.  This works for many different types of online resouces, but the OneDrive shared libary protocal seems to be more complicated. According to the OneDrive documentation a one drive "shared libary" is a resouce for "Microsoft Teams, SharePoint, or Outlook".  I didn't see anything about the actual HTTP operations that are used to upload a file. You'd need to know something about the underlying protocals that are used in order to understand if, and how, a simple HTTP Put could be used to upload a file.      

 

My impression is that its not possible to use a form submit to upload a file to OneDrive.

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often