Discussions

Ask a Question
Back to all

start_date is too old and not valid error from API

Hi

We are in the process of migrating legacy client data from another application to our servicem8 account and are getting the following error when adding historical appointments using the jobactivity endpoint

start_date is too old and not valid

We have check the data post is correct as we are able to correctly post future appointments and recent past appointments.

Is there an undocumented restriction around the start_date? From our tests this issue arises where the appointment is over 2 years in the past

If this is the case, what happens to an appointment that I create today 2 years in the future? Is this data deleted from Servicem8?

Our client data that we are trying back covers the last 15 years and it is essential that we maintain this information.

We have also found that the appointment end_date has to be on the quarter of an hour, eg 15, 30, 45 or 00. Is this fixed or can we change this to work on a 20 minute appointment schedule?