Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×I'm trying to create an incident using the the StatusPage API. I'm getting the error:
{"error":"incident[components] is invalid"}
I'm attaching my script below but the crucial part is the payload which looks like this:
data = {
"incident[name]": "test",
"incident[impact_override]": "critical",
"incident[status]": "investigating",
"incident[body]": "test",
"incident[component_ids]": ["xxx"],
"incident[components]": {"xxx": "degraded_performance"}
}
No matter what I do or what I try, it won't work.