googleapis / googleapis/google-api-nodejs-client

Tag Manager API create trigger 500 error

Open
#3,597 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

We have encountered an issue with one of the Google Tag Manager API methods, which suddenly appears to be experiencing a 500 “Experienced an internal error” outage. Since there is no real public GTM API support team like Google Analytics, we appreciate it if you could direct us to the appropriate support channel to address this matter.

APIs Explorer:

- Create Triggers: https://developers.google.com/tag-platform/tag-manager/api/v2/reference/accounts/containers/workspaces/triggers/create

- Attached is a simple request as an example:

```
POST https://tagmanager.googleapis.com/tagmanager/v2/accounts/{{account_id}}/containers/{{container_id}}/workspaces/2/triggers?key=[YOUR_API_KEY] HTTP/1.1

Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json

{
"name": "Test trigger with filters",
"type": "pageview",
"filter": [
{
"parameter": [
{
"type": "boolean",
"value": "true",
"key": "ignore_case"
},
{
"type": "template",
"key": "arg1",
"value": "thank"
}
],
"type": "matchRegex"
}
]
}
```

![unnamed](https://github.com/user-attachments/assets/bfa6b48e-c8ec-42e3-bd2a-f3d6ac49eb23)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.