Hello,
I am working on creating Maintenance Windows through the PagerDuty API. It seems very straight forward but I am not getting past this error:
"error": {
"message": "Invalid Input Provided",
"code": 2001,
"errors": [
"Start time cannot be empty."
]
}
}
My request body looks like this, and is exactly formatted like in the API documentation. I’ve double checked the time format, still no success. I guess it’s a super small/simple detail that I am overseeing…
{
“maintenance_window”: {
“type”: “maintenance_window”,
“start_time”: “2023-02-17T20:00:00+01:00”,
“end_time”: “2023-02-17T22:00:00+01:00”,
“description”: “Test Maintenance Window”,
“services”: n
{
“id”:“XXXXXXX”,
“type”:“service_reference”
}
]
}
}
Any help is greatly appreciated =)
Thanks and regards
Daniel