• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Submit a form is returning Unknown Format error

Community Beginner ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

I have a button on a form that is set to 'Submit a form'

The URL is actually from Microsoft Flow waiting to receive the POST request.

The export format is HTML.

Capture.PNG

When I submit the form it completes but displays a message box:

Error: Nothing Done

Error Code - Unknown Format

URL - the HTTP request url from Flow.

Capture.PNG

The form IS sending, Microsoft Flow IS receiving the data and produces a status of Succeeded. I can continue in Flow to work with the data so 100% the form IS submitted.

However for the end user it looks like the forms hasn't been submitted due to the error message.

How do I a) supress this message or even better b) return the success status?

Thanks.

TOPICS
PDF forms

Views

2.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Apr 06, 2018 Apr 06, 2018

Thanks Thom.

Just incase anyone else is looking for this you can control the response that Flow gives.

Add the "Request - Response" action to the Flow with the following settings:

Status Code: 200 (I've found that you always need to report a 200 status, so if you want to let the user know what happened during submission you'll need to do multiple responses in Flow and use the 'configure run after' options)

Headers:

ContentType : application/vnd.fdf

Content-disposition : inline

Body: <your text here>

Onc

...

Votes

Translate

Translate
Community Expert ,
Mar 21, 2018 Mar 21, 2018

Copy link to clipboard

Copied

The solution is to send Acrobat a response it understands.  Do you have the ability to control the MS Flow response? Ideally you should send back an FDF with status, or even an empty one.

Here's a very simple FDF response file with a status message:

%FDF-1.2

1 0 obj

   <</FDF

      <</Status (Submit was Successful)>>

   >>

endobj

trailer << /Root 1 0 R >>

%%EOF

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 06, 2018 Apr 06, 2018

Copy link to clipboard

Copied

Thanks Thom.

Just incase anyone else is looking for this you can control the response that Flow gives.

Add the "Request - Response" action to the Flow with the following settings:

Status Code: 200 (I've found that you always need to report a 200 status, so if you want to let the user know what happened during submission you'll need to do multiple responses in Flow and use the 'configure run after' options)

Headers:

ContentType : application/vnd.fdf

Content-disposition : inline

Body: <your text here>

Once the Flow has run it will create a new page in Acrobat with the body text.

If anyone could point me towards how this body text could be formatted that would be amazing but what I've got works for now.

Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

LATEST

Good afternoon chrism79752971-

 

Where exactly did you input the Status Code: 200 command?

 

Trying to remove the same Error Code you mentioned.

 

Any assistance would be appreciated!

 

Thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines