WorldCheck INVALID_DATE_OF_BIRTH for "1952-10-07"

I am sending a date of birth as follows;

    {
      "typeId": "SFCT_2",
      "value": "1952-10-07"
    },

But I am getting a response back:

[{"error":"INVALID_DATE_OF_BIRTH",
"cause":"Date of birth secondary field values must be a valid date not containing any time fields. 
These dates are not allowed to be in the future or more than 150 years in the past."}]

What is the correct format for the date of birth?


PS: That is Vladimir Putin's Birthday :)

Best Answer

  • Prabhjyot
    Prabhjyot LSEG
    Answer ✓

    @GDC,

    Thank you for your query.

    The date value has to be passed under the attribute - 'dateTimeValue'. Please try the below format and it should work fine.

    {
          "typeId": "SFCT_2",
          "dateTimeValue": "1952-10-07"
    },