pavhost Posted May 21, 2015 Share Posted May 21, 2015 Okay so, The IP Is completely whitelisted and I'm having an issue AUTHENTICATING. After miswriting the API Key I noticed it detected that it was wrong, and once fixing it - It went back to the normal fail authentication: C:\Users\Jonathan\development>node app.js Running Function ERROR [Error: WHMCS Error (403): Invalid Access Key] ^C C:\Users\Jonathan\development>node app.js Running Function ERROR [Error: WHMCS Error (403): Authentication Failed] As you can see, the API Key is write, I checked the user/pass plenty of times and it is not working. I'm using NodeJS With Express, This is my code: var validConfig = { username: process.env.WHMCS_USER || 'api_username', password: process.env.WHMCS_KEY || 'password_as_md5', apiKey: process.env.WHMCS_AK || 'abc123', serverUrl: process.env.WHMCS_URL || 'http://DOMAINHERE.com/whmcs/includes/api.php' }; var client = new WHMCS(validConfig); Using NPM Module WHMCS var WHMCS = require('whmcs'); Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.