PATTERN_NOT_MATCHED when scheduling email using API

PATTERN_NOT_MATCHED when scheduling email using API

Hi,

Right now, I am trying to schedule an email using the API. While options 1-5 work, whenever I try option 6 (custom time) and provide a datetime in the requested format, I simply get this as an error:

  1. {
        "data": {
            "errorCode""PATTERN_NOT_MATCHED",
            "moreInfo""zoho-inputstream Input does not match the given pattern"
        },
        "status": {
            "code"400,
            "description""Invalid Input"
        }
    }
I know that the "scheduleTime" parameter is causing the issue as changing the scheduleType to any number from 1-5
and clearing the "scheduleTime" parameter works perfectly.

Here's my request information:
Method: POST
Request Body (JSON):
  1. {
       "fromAddress""example@mail.com",
       "toAddress""example@mail.com",
       "subject""Email - Always and Forever",
       "content""Email can never be dead. The most neutral and effective way, that can be used for one to many and two way communication.",
       "isSchedule"true,
       "scheduleType"1,
       "timeZone""America/Toronto",
       "scheduleTime""01/05/2022 11:11"
    }
Please let me know how I can fix this.

Thanks.