To give a bit of context, i had only one wallet on a bitcoin node with multiples addresses (almost 30).
I re-import this wallet from the "importprvkey" method and all works fine my wallet was restored.
Do you remember with what version of Bitcoin Core you created your wallet?
Was it a HD wallet?
I would say there's no "main address" in a Bitcoin Core wallet. You have external addresses which are used when you request a receive address and there are internal addresses which are used for change coins, e.g. when you have an transaction input of 0.1BTC and you want to send Bob 0.06BTC with a transaction fee of 0.00002BTC, your wallet will create automatically a change output to return the excess of 0.03998BTC as change into an internal change address of your wallet.
I hope for you that you still have the original wallet.dat file OR you have dumped all your keys with bitcoin-cli dumpwallet "filename". It's important to dump all keys if you have a non-HD legacy wallet and if you dare to deal with unprotected private keys (not recommended on an online device). bitcoin-cli dumpprivkey "address" only gives you the private key for one particular address, which is definitely not enough in your case.
To restore a non-HD legacy Bitcoin Core wallet you would need all private keys and key types (external and internal) to import.
A HD wallet does generate all private keys, public keys and addresses from a single HD seed key (a specially marked private key with hdseed=1 in wallet dump file). I haven't done such a restore myself yet, but if you have a dump of such a HD seed key, it should be possible to open an empty HD wallet with no keys, import that HD seed key with bitcoin-cli sethdseed "true" "HD-seed-in-WIF-format" and a subsequent bitcoin-cli keypoolrefill would generate by default 1000 receive and change addresses which should be identical to your initial wallet.
A bitcoin-cli rescanblockchain should then find all UTXOs of such a restaured wallet.
Bitcoin Core descriptor wallets can be restaured quite easily if you have the correct private key descriptor and derivation path. The devil lies in details but to my knowledge it's even possible to restore a BIP-39 mnemonic words wallet in Bitcoin Core (with additional tools like the Iancoleman-script (download from Github, verify authenticity, use only offline on permanently air-gapped or disposable or agnostic devices!).