For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
11 1 1 2

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 :)

world-checkworld-check-one
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
4.5k 4 7 8

@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"
},
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea