Troubleshooting question template errors
When you use a question template to create questions in bulk, you might encounter errors. To resolve common issues that prevent you from importing multiple questions to your application, follow the respective guidelines for each scenario when the importing process fails.
The following are the most common issues that can occur during bulk question imports:- The template contains the IDs of questions that are already in your application
- The template has an invalid file structure or an invalid file type
- Questions in the template fail validation
Condition
The process of importing the question template fails and you receive an error message.
The template contains the IDs of questions that are already in your application
Solution: Solving duplicate questions
- In the Duplicate questions section of the Import questions page, click View details.
- Review the list of questions to confirm that you intentionally added them to the template.
- Resolve the conflicts:
- To exclude the duplicate questions from the import, select Skip.
- To overwrite the existing questions with the information in the template, select Update.
If you provide more than one entry with the same ID in the template, your application uses only the information from the first row that it finds. - In the Validate and import stage, click Import.
- In the Summary stage, click Done.
The template has an invalid file structure or an invalid file type
Solution: Fixing the question template
- On the Import questions page, click Download
template, and then save the
QuestionsTemplate.xlsx
file to your local machine. - Open the
QuestionsTemplate.xlsx
file. - Copy the information from your original template to the relevant columns in the file.
- Save the file but do not change its format.
- In the Upload file stage, click Browse.
- Navigate to the location of your new question template, and then upload the file by clicking Open.
- Click Next.
- In the Validate and import stage, click Import.
- In the Summary stage, click Done.
Questions in the template fail validation
Solution: Fixing question configuration
- In the Failed validation section of the Import survey questions page, click View details.
- Determine which columns have invalid data or reference an invalid rule by reviewing the error messages for each question.
- Click Back.
- Update your template to provide the required information.
- Create the required rules in the same class path as the questions.
- Click Browse.
- Navigate to the location of your updated question template, and then upload the file by clicking Open.
- Click Next.
- In the Validate and import stage, click Import.
- In the Summary stage, click Done.
Previous topic Importing a question template Next topic Asking a question in a case