hs-airdrop icon indicating copy to clipboard operation
hs-airdrop copied to clipboard

Unauthorized (bad API key)

Open mpint opened this issue 3 years ago • 1 comments

Hi everyone. After identifying a valid SSH key, I ran

hsd-cli rpc sendrawairdrop <base64_string_generated_by_hs-airdrop>

and I receive the following error:

Unauthorized (bad API key)

Does anyone know how to resolve this?

mpint avatar May 10 '21 03:05 mpint

hsd probably has an api key set (either in in the config file or as an argument).

Try setting the HSD_API_key environment variable with the correct api key: https://hsd-dev.org/guides/config.html

rithvikvibhu avatar May 10 '21 04:05 rithvikvibhu