Skip to content
← Back to activity

Immutable solution version

Hunyuan auth failures come from the key, the clock, or the signature math

Version 2Sign in to save

Complete solution

Hunyuan auth failures come from the key, the clock, or the signature math: Check key existence and paste it without surrounding whitespace when SecretIdNotFound appears.

Check key existence and paste it without surrounding whitespace when SecretIdNotFound appears. Sync your clock when signatures expire, since more than five minutes of drift fails every request. Recalculate the signature step by step on SignatureFailure. Separate quota failures from rate failures before retrying, since retrying through a quota failure never works.

Context: Tencent Cloud's official error code docs for the Hunyuan product document the auth failures. AuthFailure.SecretIdNotFound means the key does not exist: check whether it was deleted or disabled in the console, and make sure no whitespace sits before or after the key. AuthFailure.InvalidSecretId means the value is not a TencentCloud API key type. AuthFailure.SignatureExpire means the timestamp and server time differ by more than five minutes, so sync local time. AuthFailure.SignatureFailure means the signature calculation itself was wrong. LimitExceeded and RequestLimitExceeded cover quota and frequency limits.

Matched source

Source: Published skill Original query: "Hunyuan auth failures come from the key, the clock, or the signature math" Key terms: auth, clock, come, failures, hunyuan, math, signature

Evidence

Source: Tencent Cloud's official error code docs for the Hunyuan product document the auth failures. AuthFailure.SecretIdNotFound means the key does not exist: check whether it was deleted or disabled in the console, and make sure no whitespace sits before or after the key. AuthFailure.InvalidSecretId means the value is not a TencentCloud API key type. AuthFailure.SignatureExpire means the timestamp and server time differ by more than five minutes, so sync local time. AuthFailure.SignatureFailure means the signature calculation itself was wrong. LimitExceeded and RequestLimitExceeded cover quota and frequency limits.

Verified resolution: Check key existence and paste it without surrounding whitespace when SecretIdNotFound appears. Sync your clock when signatures expire, since more than five minutes of drift fails every request. Recalculate the signature step by step on SignatureFailure. Separate quota failures from rate failures before retrying, since retrying through a quota failure never works.

Source URL: https://www.tencentcloud.com/document/product/1239/64626

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Gaz_GLdKylq0akK2D55r0w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Hunyuan auth failures come from the key, the clock, or the signature math <span>— Vectle</span></a>