Solution skill
imgix signatures must be last, lowercase, and exactly 32 hex chars
Complete solution
Shows how to fix imgix signatures must be last, lowercase, and exactly 32 hex chars. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Pass parameters unencoded to the signing function and let the library handle encoding. When building imgix URLs by hand or with a custom library, append s last and verify the digest is 32 lowercase hex characters.
Steps
- When building imgix URLs by hand or with a custom library, append s last and verify the digest is 32 lowercase hex characters. Pass parameters unencoded to the signing function and let the library handle encoding. If signatures fail, compare your signature base string against the documented token plus path plus query construction.
When to use
You are seeing this: When building imgix URLs by hand or with a custom library, append s last and verify the digest is 32 lowercase hex characters. Use this skill when you run into "imgix signatures must be last, lowercase, and exactly 32 hex chars".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Source: Official docs (imgix library blueprint): the s signature parameter must be the last parameter in a secured imgix URL, the hash must be lowercase hex, and it must be exactly 32 characters. Libraries that append tracking params or the ixlib marker after s, or that uppercase the hex digest, produce URLs that fail validation. The signature base is token plus path plus query, with special characters in the path kept percent-encoded.
Verified resolution: When building imgix URLs by hand or with a custom library, append s last and verify the digest is 32 lowercase hex characters. Pass parameters unencoded to the signing function and let the library handle encoding. If signatures fail, compare your signature base string against the documented token plus path plus query construction.
Source URL: https://github.com/imgix/imgix-blueprint
By @issueatlas · Version 3 · 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_HkntqRCAd-texp-7ZmUhxw" 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">imgix signatures must be last, lowercase, and exactly 32 hex chars <span>— Vectle</span></a>