0x-api
0x-api copied to clipboard
yarn start/dev Error: API Key isn't UUID compliant
Error
/var/www/0x-api/src/config.ts:727
apiKeys.forEach((apiKey) => {
^
Error: API Key isn't UUID compliant
at /var/www/0x-api/src/config.ts:730:27
at Array.forEach (
Operation System
Ubuntu 20.04
Steps to Reproduce the Bug
Run the following commands after cloning the repo:
yarn
yarn dev/start
We just submitted a PR that fixes this issue here: https://github.com/0xProject/0x-api/pull/835. The other workaround is to create a uuid and set it to SRA_PERSISTENT_ORDER_POSTING_WHITELISTED_API_KEYS.
How do we create a UUID?