I have set up a TM1 model ,
and when trying to retrieve data from TM1 via Canvas ,
I always get the following error :
“Elements does not match the cube’s dimension countnull”
the cell exist in this cube , and all the right dimensions are mentioned
( I tried with other cubes as well and get the same error message )
TM1 version is : 11.1.00000.30
attached is the error message , the code , and the rest api log file for that request.
Queries are batched up, you can see them in the console network tab as “batch” entries. That error may relate to a different DBR in a batch, and not the one you reference.
Although the dimension shown on the Cube Viewer is 6, from the TM1 response as attached in the rest.log.txt file, there were actually 7 dimensions being returned.
Try this one out from the browser:
GET /api/v1/Cubes('FIN Currency xR')/Dimensions?$select=Name
The first dimension being returned was “Sandboxes”. Any special setting / configuration done for that cube?
Can you also help do a random check on the other cubes if it is doing something like this as well? Had just tried on another TM1 with that version and it was not returning that extra one.
It will not really be a bug but more of a scenario that TM1 has introduced and have to be catered to.
Canvas do rely on TM1 to provide a consistent information. On this case however, the change by TM1 to introduce a virtual dimension impacted the way Canvas verifies dimensionality of a cube request.