Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2023 10:31 PM
We've been using the DQBSQL API to perform CRUD on queries and alerts.
Part of that process added a slack channel as alert destination using the /subscriptions element on an alert post as below.
As of today I am getting a 410 'Gone' error from the API on trying to add a subscription.
I understand the DQBSQL API is preview and therefore subject to change wihtout notice, however we are a slack heavy org and it was very useful!
Does anyone know of a workaround?
ALERTS_API = DOMAIN + '/api/2.0/preview/sql/alerts'
response = requests.post(
ALERTS_API + '/' + alertId + '/subscriptions'
, headers=HEADER
, data=jsonPayload
)Exception: Error adding alert subscription: 410; Reason: Gone
Labels:
- Labels:
-
DBSQL