Overspend error when creating ASA

I’m using the same code I used a week ago, and it was able to generate tokens.
Today when I tried it again, with a new account it gives me a 400 error , …overspend account…
What did I do wrong?

‘{“message”:“TransactionPool.Remember: transaction IHXDJC57ZEEHYV5AFZB3XGF3XBCIG5VKURUUCGQFV2DD7LV7C6IQ: overspend (account address, data {_struct:{} Status:Offline MicroAlgos:{Raw:0} RewardsBase:0 RewardedMicroAlgos:{Raw:0} VoteID:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0] SelectionID:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0] VoteFirstValid:0 VoteLastValid:0 VoteKeyDilution:0 AssetParams:map Assets:map AuthAddr:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAppLocalStates:map AppParams:map TotalAppSchema:{_struct:{} NumUint:0 NumByteSlice:0}}, tried to spend {1000})”}\n’

Not sure what I missed.
const addr = ‘an address’;
const mnenomic = ‘mypassphrase’;
const act = algosdk.mnemonicToSecretKey(mnenomic);

    let params = await algodclient.getTransactionParams().do();
    let defaultFrozen = false;
    let totalIssuance = 1000000; 
    let decimals = 0; 
    let reserve = addr;
    let freeze = addr; 
    let clawback = addr; 
    let manager = addr; 
    let unitName = "COIN";
    let assetName = "Coin";
    let note = undefined;
    let assetURL = "https://app";
    let assetMetadataHash = "";
    let txn = algosdk.makeAssetCreateTxnWithSuggestedParams(addr, note,
            totalIssuance, decimals, defaultFrozen, manager, reserve, freeze,
            clawback, unitName, assetName, assetURL, assetMetadataHash, params);

What is the balance of addr ? You likely just need to fund it.

Oh i see. I must misunderstood it.

Sorry for the dumb question :expressionless: