Highlighted

Submit a form is returning Unknown Format error

Community Beginner ,
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.

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.

Topics

PDF forms

Views

432

Likes

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

Submit a form is returning Unknown Format error

Community Beginner ,
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.

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.

Topics

PDF forms

Views

433

Likes

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
Adobe Community Professional ,
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

Likes

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
Reply
Loading...
Community Beginner ,
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.

Likes

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
Reply
Loading...
New Here ,
Jun 08, 2020

Copy link to clipboard

Copied

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!

Likes

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
Reply
Loading...
Resources
One Stop Solution for Acrobat
Edit a PDF