---
title: "ContentstackException"
description: "ContentstackException"
url: "https://www.contentstack.com/docs/developers/sdks/content-management-sdk/dot-net/reference/contentstackexception"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-20"
---

# ContentstackException

## ContentstackException

A base exception for Contentstack API.

## ContentstackException

Gets the header names from HTTP response headers.

The message for the exception to be created.

Inner exception

## ContentstackException | .NET Management SDK | Contentstack

ContentstackException is the base exception class for handling errors from the Contentstack API.