I used ccxt to send a request to withdraw currency, but code: -4035 appeared unexpectedly, I confirmed my whitelist and api permission, but Amazon cloud server still failed, I don’t know where I went wrong
const withdrawal = await binance.withdraw('USDT',1, bitgetCChainAddress, {
network: 'BSC',
});
}
Error creating Binance withdrawal: PermissionDenied: binance {"code":-4035,"msg":"This address has not been whitelisted. Please add to the whitelist and try again."}
at binance.throwExactlyMatchedException (/home/ec2-user/crypto-end/node_modules/ccxt/dist/cjs/src/base/Exchange.js:4256:19)
at binance.handleErrors (/home/ec2-user/crypto-end/node_modules/ccxt/dist/cjs/src/binance.js:11326:18)
at /home/ec2-user/crypto-end/node_modules/ccxt/dist/cjs/src/base/Exchange.js:1045:51
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async binance.fetch2 (/home/ec2-user/crypto-end/node_modules/ccxt/dist/cjs/src/base/Exchange.js:3808:16)
at async binance.request (/home/ec2-user/crypto-end/node_modules/ccxt/dist/cjs/src/binance.js:11370:26)
at async binance.withdraw (/home/ec2-user/crypto-end/node_modules/ccxt/dist/cjs/src/binance.js:8824:26)
at async withdraw (/home/ec2-user/crypto-end/src/services/withdraw.ts:8:24)