--- title: "Error: Invalid format - Please ensure the header and columns are the same as the template." slug: "error-invalid-format-please-ensure-the-header-and-columns-are-the-same-as-the-template" updated: 2025-09-18T06:21:08Z published: 2025-09-18T06:21:08Z canonical: "support.whatfix.com/error-invalid-format-please-ensure-the-header-and-columns-are-the-same-as-the-template" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # Error: Invalid format - Please ensure the header and columns are the same as the template. ## Issue When you try to upload a CSV file that contains User IDs to [create a User list (Static Cohort)](/product-analytics/docs/create-a-user-list), the action fails and you see the following error message: **Invalid format - Please** **ensure the header and columns are the same as the template**. ![user_list_invalid_format_error.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_list_invalid_format_error.png?sv=2026-02-06&spr=https&st=2026-11-19T15%3A16%3A33Z&se=2026-11-19T16%3A16%3A33Z&sr=b&sp=r&sig=KKCAm1zrk%2BSeevrjWV4b2lcK5yyyV1TX%2Bgai8%2BxSwgs%3D) ## Probable Cause By default, the CSV template contains the **userId** header, below which you can add the User IDs. The **Invalid format** error appears if you remove the **userId** header from the CSV file. ![user_list_without_user_id_header.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_list_without_user_id_header.png?sv=2026-02-06&spr=https&st=2026-11-19T15%3A16%3A33Z&se=2026-11-19T16%3A16%3A33Z&sr=b&sp=r&sig=dOkGm1RtZ2WzNvKcK9N4F2uMvg2SJsSbA47Wm%2BGuZfk%3D) ## Suggested Solution When adding User IDs to the CSV file, ensure that you retain the **userId** header as is. ![user_list_with_user_id_header.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/user_list_with_user_id_header.png?sv=2026-02-06&spr=https&st=2026-11-19T15%3A16%3A33Z&se=2026-11-19T16%3A16%3A33Z&sr=b&sp=r&sig=R7mr0nqD4nRVZeDLCGJRlmWPO6LEStJptCoD3L%2BxduI%3D) > [!WARNING] > Note: > > If the issue persists, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Invalid%20format%20error%20in%20User%20lists&body=Hi%20team%2C%0A%0AI'm%20getting%20the%20following%20error%3A%20Invalid%20format%20-%20Please%20ensure%20the%20header%20and%20columns%20are%20the%20same%20as%20the%20template.%20Please%20help.%0AENT%20ID%3A).