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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
11 2 3 3

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
4.5k 4 8 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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