Problem getting Business Data

Hello,

In my form I am using rest api to get business data  :

/API/bdm/businessData/com.company.model.Contract/ --- this example from documentation.

It throws the exception : 

{"exception":"class org.bonitasoft.engine.exception.BonitaRuntimeException","message":"USERNAME=| org.bonitasoft.engine.commons.exceptions.SRetryableException: javax.persistence.PersistenceException: org.hibernate.exception.DataException: Could not read entity state from ResultSet : EntityKey[com.company.model."bdm name"#5699]"}

What could be a problem ?

Hello,

could you please give a bit more of information? First of all, which version of Bonita are you using?

1.What is you use case?

2. What do you need to do with this data?

3. Have you defined a business data model? If that's the case, what is your package name? 

It seems that you get the error because there is an issue with the mapping of your business data and the API call.