Developer Resources · Authentication
Troubleshooting
Diagnose common authentication errors like 401 Unauthorized, and know when to escalate.
When authentication fails, the path from problem to solution isn't always obvious. A token that worked perfectly yesterday might fail today for reasons that aren't immediately apparent. This guide provides a systematic approach to diagnosing and resolving authentication issues, helping you move from confusion to clarity when things go wrong.
Common Errors
401 Unauthorized – Token Not Validated
Occurs when we can’t recognize your token. This can happened due to one of the reasons:
-
Expired token – check the token's lifetime.
-
Malformed token – ensure the full string is sent with no extra spaces.
-
Revoked token – Check if token may have been disabled, deleted, or the associating Monimeer itself offboarded.
-
Environment mismatch – mon_ for production, mon_test_ for sandbox.
403 Forbidden – Permission Intersection Failed
-
Token is valid but lacks permissions for the operation.
-
Check declared token permissions set at creation.
-
Check Monimeer’s role in the Space—role changes can reduce access.
Remember:effective permissions = token permissions ∩ Monimeer’s role permissions -
Check if token was bounded to a different space than the one in context.
-
Check if IP whitelisting was configured for the token during creation.
Network & Environment Issues
-
Verify connectivity to Monime endpoints.
-
Check TLS certificates, system clock, and DNS resolution.
-
Watch for proxy/firewall stripping
AuthorizationorMonime-Space-Idheaders. -
In containerized environments, ensure secrets are mounted and networking is correct.
When to Escalate
Contact Monime support or your Space admin if:
-
Standard troubleshooting fails.
-
The issue seems platform-side.