API Error: You may not access this service, your IP address xx.xx.xx.x is not allowed
I am attempting to build an api. Below is my script. When I run it I receive an error.
res: {"errors":[{"errorMessage":"You may not access this service, your IP address xx.xx.xx.x is not allowed.","errorCode":26}]}
data: [object Object]
DOMO.log('metadata.report: ' + metadata.report);
if(metadata.report == 'CentralOps-All-Retail-Pharm-Jobs')
{
httprequest.addHeader('Authorization', 'Basic ' + DOMO.b64EncodeUnicode(metadata.account.username + ':' + metadata.account.password));
var res = httprequest.get('https://api.icims.com/customers/7136/');
DOMO.log('res: ' + res);
var data = JSON.parse(res);
DOMO.log('data: ' + data);
}
Also, each time I run the script the ip address that errors, is different so i am assuming it is a dynamic ip.
0
Comments
-
Could someone help with this script?
0
This discussion has been closed.
Categories
- 10.5K All Categories
- 3 Connect
- 913 Connectors
- 250 Workbench
- 458 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 183 Visualize
- 249 Beast Mode
- 2.1K Charting
- 11 Variables
- 16 Automate
- 354 APIs & Domo Developer
- 88 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 245 Distribute
- 62 Domo Everywhere
- 242 Scheduled Reports
- 20 Manage
- 41 Governance & Security
- 168 Product Ideas
- 1.2K Ideas Exchange
- 9 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive