Open VR-Architect opened 2 months ago
Also got this error when testing the Pinata key they gave me by clicking the copy button and pasting into my command line.
C:_Projects\NodejsConsoleApp3\NodejsConsoleApp3>curl --request GET .acurast--url https://api.pinata.cloud/data/testAuthentication .acurast--header 'accept: application/json' .acurast--header 'authorization: Bearer my_key_was_here' curl: (6) Could not resolve host: .acurast--url {"error":{"reason":"KEYS_MUST_BE_STRINGS","details":"pinata_api_key and pinata_secret_api_key must both be strings"}}curl: (6) Could not resolve host: .acurast--header curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 curl: (6) Could not resolve host: application curl: (6) Could not resolve host: .acurast--header curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 curl: (6) Could not resolve host: Bearer curl: (3) URL rejected: Bad hostname
C:_Projects\NodejsConsoleApp3\NodejsConsoleApp3>
Thanks you for the report. This is a sub-dependency, I'll see if we can force a newer version in a future update.
Regarding the Pinata key, you don't need that anymore. Just comment both the key and URL out of the .env file (or remove it completely), and it should work.
Eg.
.env
ACURAST_MNEMONIC=abandon abandon about ...
# ACURAST_IPFS_URL=https://api.pinata.cloud
# ACURAST_IPFS_API_KEY=eyJhb...
# ACURAST_RPC=wss://...
FYI, got this warning about substrate