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:
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.