Logo

Error Codes

Canonical errors returned by Bluecom Auth during the handshake.

Canonical errors returned by the Bluecom Auth service during the handshake.

CodeHTTPCauseFix
UNKNOWN_PROVIDER400partnerCode is unknown, inactive, or not of type hmacVerify provisioning with Bluecom ops. Check that you're using the right environment's partnerCode.
VERIFICATION_FAILED401HMAC mismatch, expired timestamp, wrong secret, or malformed canonical stringRecompute the token. Check clock skew via NTP. Verify the secret matches the environment.

Debugging checklist

Work through this list top-to-bottom before escalating to Bluecom ops.

  1. Is timestamp in seconds, not milliseconds?
  2. Is the signed string exactly userId:timestamp — no spaces, no JSON?
  3. Is the token lowercase hex?
  4. Is partnerSecret from the correct environment (staging vs production)?
  5. Is server time within ±5 minutes of UTC?

Clock skew

Most VERIFICATION_FAILED errors in production come from server clocks drifting more than 5 minutes. Ensure your server syncs via NTP.

On this page