Start a conversation

Cannot Submit Survey - Missing Parameter

Overview

You may find that some surveys cannot be submitted through the ResponseTek API because of a missing parameter. That issue might cause an HTTP error 400 (Bad Request).

 

Solution

Please inspect the survey data that is being sent and ensure all the necessary parameters are included.

This is an example of how this issue could happen:
Cannot_Submit_Survey_-_Missing_Parameter.png

The "comment" parameter is missing in the last question block. In this case, the solution is to apply one of the two options below to the request you send:

  • Remove from the request the whole block if there is no answer or comment for a question
  • Pass all question block parameters

Otherwise, the system will not accept the request.

 

Testing

After fixing the issue, submit the survey again.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments