Error: "Wallet file verification failed: Duplicate -wallet filename specified"

In Errors & Troubleshooting

Cause: the wallet is already loaded on the node.

How to fix

Check whether the wallet is currently loaded before calling /api/Wallet/load-wallet, and avoid reloading a wallet that's already active.