Skip to main content
September 24, 2022
Solved

i got error when insert value in database

  • September 24, 2022
  • 2 replies
  • 0 views

An error occurred while trying to write to the entity "CG_Customers" [id=d0015edc-386e-4295-a948-f3684375895a@8211, type=CG_Customers (id=4066)] (data store: CG_DataStore). Details: java.lang.IllegalArgumentException: The record to be saved must not be null: TypedValue[it=4066,v=<null>] Data: TypedValue[it=4066,v=<null>]

    Best answer by deepakg681722

    The variable which you are using for insertion under WDS is null. Please make sure it should not be null while insertion.

    2 replies

    September 24, 2022

    The variable which you are using for insertion under WDS is null. Please make sure it should not be null while insertion.

    harshitb6843
    September 26, 2022

    And it is always a good practice to add a null check before executing the Write to DSE service.