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.

Comments

This discussion has been closed.