Guide
Why does Nyria say MEXC rejected this key?
Nyria shows MEXC rejected this key when MEXC refuses the API key or secret key you pasted. Copy both again from API Management and paste them in. Keep Spot trading on and Withdrawals off.
Official documentation
Fix: MEXC rejected this key
- 1
Open API Management
Log in to MEXC and select the profile icon at the top right. Choose API Management.
- 2
Find your key
Look for the key you made for Nyria.
- 3
Copy the API key
It goes in the API key field.
- 4
Copy the secret key
It goes in the secret key field.
- 5
Select Connect MEXC
Nyria shows the answer from MEXC.
What the message means
- MEXC refused the API key or secret key.
- Nyria passes on the answer.
- Nothing connected.
- No order was placed.
- A fresh copy is the usual fix.
Common causes
- A character was missed in the copy.
- A space came along with the paste.
- The two keys were pasted in the wrong fields.
- The key was deleted at MEXC.
- The secret was copied from another key.
Permissions to set
- Turn on Spot trading.
- Leave Withdrawals off.
- Nyria never needs to move funds out.
IP address link
- MEXC lets you link IP addresses to a key.
- It is optional.
- If you link one, use Nyria's: 116.202.227.157.
- Remove the link to test if the key still fails.
Still stuck
- Create a new key in API Management.
- Complete the security verification.
- Copy both keys before you close the page.
- Try the alert on Nyria Paper first.
Questions
- What does MEXC rejected this key mean?
- MEXC refused the API key or secret key you pasted.
- How do I fix it?
- Copy both keys again and paste them in.
- Which permission does the key need?
- Spot trading.
- Should withdrawals be on?
- No. Leave them off.
- Is an IP link needed?
- No. It is optional at MEXC.
- Can I test first?
- Yes, on Nyria Paper.
Next
- Paste an alert into the alert tester to see how Nyria reads it.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Step by step for one account: how to automate Webhook to Nyria Paper.
- Alert tester.
Guides
Try a paper bot first
No card required. Paper is free. Live trading from $15 a month.