Not able to insert the Record form DB using Rest API

Hello Team,
We are trying to insert a record into the database using an external REST service, but we are getting below mentioned error.

Error message: “2025-07-11 08:25:40,891|SIMPLICITE|ERROR||:20058||ECORED0001|system|com.simplicite.util.ObjectDB|getField||Error Object ObjectDB: unknown field trnSimpliciteDemoFeedBack.”

Please help for what i missed the mapping column’s.

Hello,

The message indicates that the field trnSimpliciteDemoFeedBack doesn’t exist for the TrnSimpliciteDemo object.

This can occur when the field isn’t a part of the Object, or that the spelling is incorrect.

You can check that the field appears in the list of Object fields linked to your object :

Hello,
I think Object field is correct only please check the attached screen shot.

The parameters in your getObject method are the wrong way around. The javadoc specifies : getObject(String instance, String name) : Grant, in your case : getObject(null, "TrnSimpliciteDemo");

We highly recommend you follow the platform’s best practices for object manipulation :

I read again this post after this one https://community.simplicite.io/t/how-to-enable-disable-pooling-while-saving-in-db

Here also it seems that you are coding a low level API where there is no need to do so, Simplicité offers native generic APIs that does not require any coding

In your case I think you just need to implement what we call API naming mapping = add an objects/fields/links mapping layer on top of the business objets so as it complies with your API standards.

To acheive this this you can either write some Java code like in this demo example or (as of version 6) simply describe the mapping using JSON settings:

Using the above mapped REST APIs does not require that you implement any business object CRUD-related code which is taken care by the platform.

Writing custom REST APIs are dedicated do more specific stuff than just CRUD on business objects

[Predefined Message]

In order for our support team to bring you a better service, and for the rest of the community to find the significant answers more easily, we kindly ask our user to mark as “solved” once a solution has been found.

Your messages indicating that the issue was fixed, we’ve realized this action on your behalf.