Unable to fetch app definition: Unable to cast object

Hi I cannot access the application. I am getting this error:

Error:Unable to cast object of type ‘TextMetaData’ to type ‘EnumMetaData’./n

Please your help to solve it.


This typically happens when you try to set the value of a column of type Enum or EnumList to a value that the column isn’t configured to allow.

In the configuration for o column of type Enum or EnumList, go to the Type Details section. The Values setting should include all acceptable values. If you’d like to allow values that aren’t explicitly configured here, make sure the Allow other values option is enabled.


Thanks! I made the changes and I can now enter the app.

1 Like

@Steve I’m having this problem for the first time when I’m trying to add/edit/delete a record to a table that has no Enum or EnumList columns.
I have no idea where is the problem

Unable to add/edit/delete row in table ‘DIM_RECIBIDOR’. → Unable to cast object of type ‘TextMetaData’ to type ‘EnumMetaData’.

1 Like

Seems like it’s related to a recent change I made around Table config.
On Are updates available? I’ve made an expression:

  INDEX(DIM_CURRENTUSER[ROL], 1)="Observador",

I’m trying to fix it

I had to change [ROL] to “Allow other values”
Hate the fact that we have no info why this is needed, it makes no sense. It’s an Enum basetype Text and the options that I have are all Text

1 Like

If your Enum (or EnumList) column has explicit values defined in the column’s Type Details section, only those values may occur in that column unless Allow other values is enabled. I agree that the error message is lacking.

1 Like

Yeah, but there is no other value inside that Enum that is not inside the options I already typed.
It’s the UserSettings “table”