Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Troubleshooting question template errors

Updated on March 29, 2022

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

  1. In the Duplicate questions section of the Import questions page, click View details.
  2. Review the list of questions to confirm that you intentionally added them to the template.
  3. 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.
  4. In the Validate and import stage, click Import.
  5. In the Summary stage, click Done.

The template has an invalid file structure or an invalid file type

Solution: Fixing the question template

  1. On the Import questions page, click Download template, and then save the QuestionsTemplate.xlsx file to your local machine.
  2. Open the QuestionsTemplate.xlsx file.
  3. Copy the information from your original template to the relevant columns in the file.
  4. Save the file but do not change its format.
  5. In the Upload file stage, click Browse.
  6. Navigate to the location of your new question template, and then upload the file by clicking Open.
  7. Click Next.
  8. In the Validate and import stage, click Import.
  9. In the Summary stage, click Done.

Questions in the template fail validation

Solution: Fixing question configuration

  1. In the Failed validation section of the Import survey questions page, click View details.
  2. Determine which columns have invalid data or reference an invalid rule by reviewing the error messages for each question.
    For example: When the answer format for a question is set to Section but you do not provide the name of a section rule, you receive an error message.
  3. Click Back.
  4. Update your template to provide the required information.
  5. Create the required rules in the same class path as the questions.
  6. Click Browse.
  7. Navigate to the location of your updated question template, and then upload the file by clicking Open.
  8. Click Next.
  9. In the Validate and import stage, click Import.
  10. In the Summary stage, click Done.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us