Skip to main content
Known Participant
Sep 24, 2022 2:33 PM UTC
Solved

i got error when insert value in database

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>]

    Inspiring
    Sep 24, 2022 4:19 PM UTC

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

    2 replies

    Inspiring
    Sep 24, 2022 4:19 PM UTC

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

    harshitb6843
    Brainy
    Sep 26, 2022 10:05 AM UTC

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