X_CACHE_PURGE_FAILED
Means
the CDN refused a purge
Typical cause
a wrong or unscoped API token, a zone without tag purge, a throttle, a key carrying whitespace or a comma
Fix
meta.retryable === true → the identical purge can land again; false → set the env key the fix names, then x dev