---
title: segmented_caching.error
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/segmented-caching/segmented-caching-error
---

**Type:** STRING  
**Access:** read-only

**Available in:** log

A string describing the reason why segmented caching failed.

This variable will evaluate to a _not set_ string value if segmented caching
was not enabled, or if segmented caching completed successfully or was
cancelled by a non-206 response.
