Issues With Triggering Campaigns App With An Alert
I've been following along with https://domohelp.domo.com/hc/en-us/articles/1500000316201-Triggering-a-Campaign-from-a-Domo-DataSet-Alert#2.2.
I am currently at the point of testing the POST to the API in the WebHook and I am getting the Error:
{
"status": 400,
"error": "Bad Request",
"path": "/api/v1/campaigns/bae/start"
}
Below is my current JSON Included in the WebHook:
{
"campaignId": CampaignNum,
"instance": "Instance",
"domoAccessToken": "AccessToken",
"domoAccessTokenOwnerEmailAddress": "Email",
"emailAddresses": ["Email" ],
"isTest": true
}
I've found that I could POST the previous JSON to https://campaigns-prod.domolabs.io/api/v1/campaigns/start while testing the API on another program, but I am not able to get a successful POST while using the Domo WebHook.
I've also tried to POST to https://campaigns-prod.domolabs.io/api/v1/campaigns/bae/start, but I have also only gotten the error from above.
Best Answer
-
I figured it out with support. The issue I was having was the "Send Test" in Domo's Test Environment was throwing an error when trying to POST to https://campaigns-prod.domolabs.io/api/v1/campaigns/bae/start. Although the test environment was throwing an error the webhook still did a successful POST when the alert was triggered.
0
Answers
-
I figured it out with support. The issue I was having was the "Send Test" in Domo's Test Environment was throwing an error when trying to POST to https://campaigns-prod.domolabs.io/api/v1/campaigns/bae/start. Although the test environment was throwing an error the webhook still did a successful POST when the alert was triggered.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive