Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

422 Unprocessible entity teams#null

Abhilash Gajulapally
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 30, 2023

When I make a post request from thunder client to https://api.opsgenie.com/v2/alerts

Body : 
{
"message": "This is the notification message",
"teams": ["abhilash8642"],
"priority": "P1",
"source": "Your Application",
"description": "Additional details about the alert",
"details": {
"key1": "value1",
"key2": "value2"
},
"tags": ["tag1", "tag2"],
"note": "Optional note for the alert"
}

Response :

{
"message": "'teams#null' is invalid",
"took": 0.001,
"requestId": "f2979ef8-a641-4f3e-b5c0-c64befc5b9c1"
}


But the team i specified abhilash8642 is present.
Can someone help? 

1 answer

1 vote
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 30, 2023

Hi @Abhilash Gajulapally ,

Instead of 'teams' you will want to use 'responders', with teams as a child. Here is an example:

"responders":[ {"name":"abhilash8642", "type":"team"} ],

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events