i tried to integrate the google chat with the opsgenie for that in the integration section i had selected webhook as option and given the google chat webhook and turned on the the integrations. but i dont what the thing done wrong because i am not seeing any alerts in the google chat even though i am getting alerts continuosly to the opsgenie.
Thanks for contacting Atlassian Support, my name is Allen, I am very glad to be assisting
you today.
It would be best if you raised a support case via https://support.atlassian.com/contact/#/
due to the nature of your ticket we would need to login to your Opsgenie to check configs
and logs, the conversation to arrange such access should not be done on public forum as
sensitive information will need to be handled.
Thanks and kind regards,
Allen Barnard
Senior Support Engineer
Atlassian Analytics | Opsgenie | Trello
Hi @Allen Barnard ,
Thank you for your response.
Before proceeding to create a new ticket at the link you provided, I would like to confirm if it’s possible to integrate Opsgenie with Google Chat using webhooks. If this is feasible, could you please share any relevant documentation or references to help with the setup?
Additionally, I’ve encountered the following error in Opsgenie when attempting this integration:
{
"error": {
"code": 400,
"message": "Invalid JSON payload received. Unknown name \"action\" at 'message': Cannot find field.
Invalid JSON payload received. Unknown name \"alert\" at 'message': Cannot find field.
Invalid JSON payload received. Unknown name \"source\" at 'message': Cannot find field.
Invalid JSON payload received. Unknown name \"integrationName\" at 'message': Cannot find field.
Invalid JSON payload received. Unknown name \"integrationId\" at 'message': Cannot find field.
Invalid JSON payload received. Unknown name \"integrationType\" at 'message': Cannot find field.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{ "field": "message", "description": "Invalid JSON payload received. Unknown name \"action\" at 'message': Cannot find field." },
{ "field": "message", "description": "Invalid JSON payload received. Unknown name \"alert\" at 'message': Cannot find field." },
{ "field": "message", "description": "Invalid JSON payload received. Unknown name \"source\" at 'message': Cannot find field." },
{ "field": "message", "description": "Invalid JSON payload received. Unknown name \"integrationName\" at 'message': Cannot find field." },
{ "field": "message", "description": "Invalid JSON payload received. Unknown name \"integrationId\" at 'message': Cannot find field." },
{ "field": "message", "description": "Invalid JSON payload received. Unknown name \"integrationType\" at 'message': Cannot find field." }
]
}
]
}
}
When troubleshooting, I noticed Google Chat does not seem to interpret this JSON payload correctly, and I could not find an option to define a custom JSON template in Opsgenie.
Could you kindly clarify if there is a way to resolve this issue or provide guidance on setting up the integration? Any insights would be greatly appreciated.
Thank you for your time and assistance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It appears you are attempting to post to a Google API endpoint which is configured to accept JSON payloads with match a specific format.
It is not possible to change the JSON payloads being sent from Opsgenie here is some documentation regarding the structure of these payloads https://support.atlassian.com/opsgenie/docs/opsgenie-edge-connector-alert-action-data/ I did some research and it appears that the API does require the JSONs to match a specific format, unfortunately its not possible to modify the JSON which Opsgenie send.
Please note that integration with Google chat is not officially supported.
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.