Schema Imports to certain iModels #6679
-
I have a schema that works on certain iModels, but on other iModels I get a none helpful error message "Error Importing Schema" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
That's a very unhelpful error message. Can you please double-check the name and case of the function you're calling |
Beta Was this translation helpful? Give feedback.
You can try turning up the backend logging categories for ECDb and check your logs. https://www.itwinjs.org/reference/core-backend/logging/backendloggercategory/
I suspect that the iModel that fails to import the schema has an older profile version and needs to be updated. See: https://www.itwinjs.org/learning/backend/imodeldb/#upgrading-schemas-in-an-imodel