Cannot create an asset

Hello I would like to create an asset in testnet but I get failed to send transaction: HTTP 400. error. How can I solve this problem? Here are my logs:

Loaded Key : QRDPYHUEBHAECSPM7RDERILQY7TDEKRAA2CX2ASIFGCRKYEC2O56FNRH2U
{
        "Fee": 1,
        "GenesisID": "testnet-v1.0",
        "GenesisHash": "SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=",
        "FirstRoundValid": 1422855,
        "LastRoundValid": 1423855,
        "ConsensusVersion": "https://github.com/algorandfoundation/specs/tree/5615adc36bad610c7f165fa2967f4ecfa75125f0",
        "FlatFee": true,
        "MinFee": 1000
} 
"L8M0SLRAYeewgcR5NIrKOVD/zhgZR3D6N5/Do6LEGdmERvwehAnAQUns/EZIoXDH5jIqIAaFfQJIKYUVYILTuw==" 
"QRDPYHUEBHAECSPM7RDERILQY7TDEKRAA2CX2ASIFGCRKYEC2O56FNRH2U" 
Asset created AssetName: Toxum
Transaction ID: F47HVXYVDRQNCIPE4PK6FF6HKHBUUKWCOB2PJNBTOKSGYYH22LMA
failed to send transaction: HTTP 400: {"message":"transaction {_struct:{} Sig:[26 28 27 66 160 128 119 238 186 28 54 113 71 143 48 79 100 48 165 66 21 16 140 232 225 18 130 103 87 10 45 64 30 127 190 247 128 121 127 163 109 204 147 85 88 160 188 9 99 32 88 254 230 100 129 2 202 155 207 43 129 248 107 8] Msig:{_struct:{} Version:0 Threshold:0 Subsigs:[]} Lsig:{_struct:{} Logic:[] Sig:[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 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] Msig:{_struct:{} Version:0 Threshold:0 Subsigs:[]} Args:[]} Txn:{_struct:{} Type:acfg Header:{_struct:{} Sender:QRDPYHUEBHAECSPM7RDERILQY7TDEKRAA2CX2ASIFGCRKYEC2O56FNRH2U Fee:{Raw:1} FirstValid:1422855 LastValid:1423855 Note:[] GenesisID:testnet-v1.0 GenesisHash:JBR3KGFEWPEE5SAQ6IWU6EEBZMHXD4CZU6WCBXWGF57XBZIJHIRA Group:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA Lease:[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] RekeyTo:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ} KeyregTxnFields:{_struct:{} VotePK:[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] SelectionPK:[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] VoteFirst:0 VoteLast:0 VoteKeyDilution:0 Nonparticipation:false} PaymentTxnFields:{_struct:{} Receiver:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ Amount:{Raw:0} CloseRemainderTo:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ} AssetConfigTxnFields:{_struct:{} ConfigAsset:0 AssetParams:{_struct:{} Total:10 Decimals:0 DefaultFrozen:false UnitName:Toxum AssetName:Toxum URL:https://path/to/my/asset/details MetadataHash:[116 104 105 115 73 115 83 111 109 101 76 101 110 103 116 104 51 50 72 97 115 104 67 111 109 109 105 116 109 101 110 116] Manager:QRDPYHUEBHAECSPM7RDERILQY7TDEKRAA2CX2ASIFGCRKYEC2O56FNRH2U Reserve:QRDPYHUEBHAECSPM7RDERILQY7TDEKRAA2CX2ASIFGCRKYEC2O56FNRH2U Freeze:QRDPYHUEBHAECSPM7RDERILQY7TDEKRAA2CX2ASIFGCRKYEC2O56FNRH2U Clawback:QRDPYHUEBHAECSPM7RDERILQY7TDEKRAA2CX2ASIFGCRKYEC2O56FNRH2U}} AssetTransferTxnFields:{_struct:{} XferAsset:0 AssetAmount:0 AssetSender:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ AssetReceiver:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ AssetCloseTo:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ} AssetFreezeTxnFields:{_struct:{} FreezeAccount:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ FreezeAsset:0 AssetFrozen:false} ApplicationCallTxnFields:{_struct:{} ApplicationID:0 OnCompletion:NoOpOC ApplicationArgs:[] Accounts:[] ForeignApps:[] ForeignAssets:[] LocalStateSchema:{_struct:{} NumUint:0 NumByteSlice:0} GlobalStateSchema:{_struct:{} NumUint:0 NumByteSlice:0} ApprovalProgram:[] ClearStateProgram:[] ExtraProgramPages:0} CompactCertTxnFields:{_struct:{} CertRound:0 CertType:0 Cert:{_struct:{} SigCommit:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA SignedWeight:0 SigProofs:[] PartProofs:[] Reveals:map[]}}} AuthAddr:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ} invalid : asset transaction not supported"}

The error is:

invalid : asset transaction not supported

This error happens when your node is not synced.
You need to get your node fully synced.
You can use fast catchup if your node is not archival:

PS: I’ve edited your post to write the logs between triple backquotes ``` for better presentation.

This couldn’t solve my problem unfortunately but when I run

goal node status ,

I see
Genesis ID: mainnet-v1.0
Genesis hash: wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=

But I am running my code in testnet. Does that can cause the problem?

This is also a problem.

You also need to switch to TestNet:

Problem is solved after synchronization. Thanks!!