Identify the Error
Type name errors occur when the domain model contains entity type names that violate naming rules. Symptoms include:- Connection status shows Failed after saving the domain model
- Error messages referencing unrecognized type names
- Sheet configuration
fromfield fails to match any entity type
Step 1: Check Entity Type Naming Rules
Entity type names indomainModelTypes must follow strict rules:
| Rule | Valid | Invalid |
|---|---|---|
| Single word, no spaces | SystemRequirement | System Requirement |
| No special characters | UserNeed | User-Need, User_Need |
| PascalCase recommended | DesignRequirement | designrequirement |
| Must be unique | One Hazard entry | Two Hazard entries |
Step 2: Distinguish Entity Type Names from Polarion Type IDs
A common mistake is confusing domain model entity type names (the YAML keys underdomainModelTypes) with Polarion work item type IDs (the polarionType value):
polarionType maps your domain model entity to a Polarion work item type, but all references within the domain model (relationships, queries, sources) use the entity type name (the YAML key).
Step 3: Fix Relationship References
When relationshipfrom and to fields reference an invalid entity type name, you may see “left error” or “right error” messages:
- “left error” = the
fromentity type name is invalid - “right error” = the
toentity type name is invalid
Step 4: Fix Source Query References
Thefrom field in your sheet configuration sources must also use the entity type name:
Verification
After correcting type names:- Save the domain model configuration
- Check that the connection status returns to Active
- Open the powersheet document
- You should now see data loading correctly with no type-related errors in the sheet
See Also
- Create an Entity Type — entity type setup guide
- Map to Polarion Types — type mapping details
- Fix Relationship Errors — relationship configuration issues
- Validate Your Data Model — full validation checklist
Sources: Ticket insights (type naming rules), ConfigProvider.tsx, admin.cy.ts
Sources
Sources
Support TicketsSource Code
HttpErrorInfo.javaprod-powersheet-src/com.nextedy.powersheet.client/src/modules/ConfigProvider/ConfigProvider.tsxprod-powersheet-src/com.nextedy.editor/src/types.d.tsServerRenderer.javaprod-powersheet-src/com.nextedy.powersheet.client/cypress/e2e/admin/admin.cy.ts