I keep getting a 400 error with the message, `Component is Missing`
My payload and URL looks like this:
{
description : 'this is the new description',
component_group: {
name : comp_group[0].name,
components: [
'comp_1',
'comp_2', ...
]
}
}
URL: https://api.statuspage.io/v1/pages/********/components/*********.json?api_key=************
Hey Mikea,
What was it you were looking to do with your call? Here's an example of something I was able to submit whenever sending a patch to change a component group -
{
"component_group": {
"components": [
"dnk673lyxzhw",
"7s1rmqsqzfr5",
"k43bv847x9mr"
],
"description": "something new",
"name": "new name"
}
}
Hopefully this helps!
I was trying to set the order of the components inside of the component group. Maybe I was putting the component names rather than the ID's and that's causing the missing message. Let me look into that
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.