environment_mismatch
- HTTP status
- 422
- Cause
- A sandbox credential was used on the live host, or the reverse.
- Fix
- Use rk_test_ keys with sandbox.emeraldrelay.com and rk_live_ keys with api.emeraldrelay.com.
Sample response
{
"error": {
"type": "invalid_request",
"code": "environment_mismatch",
"message": "A sandbox credential was used on the live host, or the reverse.",
"documentation_url": "https://emeraldrelay.com/docs/errors/environment_mismatch",
"request_id": "req_01JB8Q3Z7N4V2K5T9X6M1C0F8D"
}
}