Chapter 2. API Reference
ESP_ERR_NVS_NOT_ENOUGH_SPACE
There is not enough space in the underlying storage to save the value
ESP_ERR_NVS_INVALID_NAME
Namespace name doesn't satisfy constraints
ESP_ERR_NVS_INVALID_HANDLE
Handle has been closed or is NULL
ESP_ERR_NVS_REMOVE_FAILED
The value wasn' t updated because flash write operation has failed. The value was written however, and update
will be finished after re-initialization of nvs, provided that flash operation doesn't fail again.
ESP_ERR_NVS_KEY_TOO_LONG
Key name is too long
ESP_ERR_NVS_PAGE_FULL
Internal error; never returned by nvs API functions
ESP_ERR_NVS_INVALID_STATE
NVS is in an inconsistent state due to a previous error. Call nvs_flash_init and nvs_open again, then retry.
ESP_ERR_NVS_INVALID_LENGTH
String or blob length is not sufficient to store data
ESP_ERR_NVS_NO_FREE_PAGES
NVS partition doesn't contain any empty pages. This may happen if NVS partition was truncated. Erase the
whole partition and call nvs_flash_init again.
ESP_ERR_NVS_VALUE_TOO_LONG
String or blob length is longer than supported by the implementation
ESP_ERR_NVS_PART_NOT_FOUND
Partition with specified name is not found in the partition table
ESP_ERR_NVS_NEW_VERSION_FOUND
NVS partition contains data in new format and cannot be recognized by this version of code
ESP_ERR_NVS_XTS_ENCR_FAILED
XTS encryption failed while writing NVS entry
ESP_ERR_NVS_XTS_DECR_FAILED
XTS decryption failed while reading NVS entry
ESP_ERR_NVS_XTS_CFG_FAILED
XTS configuration setting failed
ESP_ERR_NVS_XTS_CFG_NOT_FOUND
XTS configuration not found
ESP_ERR_NVS_ENCR_NOT_SUPPORTED
NVS encryption is not supported in this version
ESP_ERR_NVS_KEYS_NOT_INITIALIZED
NVS key partition is uninitialized
ESP_ERR_NVS_CORRUPT_KEY_PART
NVS key partition is corrupt
ESP_ERR_NVS_WRONG_ENCRYPTION
NVS partition is marked as encrypted with generic flash encryption. This is forbidden since the NVS encryption
works differently.
ESP_ERR_NVS_CONTENT_DIFFERS
Internal error; never returned by nvs API functions. NVS key is different in comparison
NVS_DEFAULT_PART_NAME
Default partition name of the NVS partition in the partition table
Espressif Systems
723
Submit Document Feedback
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?