Articles in this section

Why do clients reports error code 22: AEROSPIKE_ERR_FAIL_FORBIDDEN on a strongly-consistent namespace?

Problem Description

A client (can also be asrestore) reports an error during operation:

Error while storing record - code 22: AEROSPIKE_ERR_FAIL_FORBIDDEN at src/main/aerospike/as_command.c:594

Explanation

This error indicates that the record cannot be written. There can be different situations that cause this issue. The most common causes when seeing this on a namespace that is configured to be strongly consistent with solutions are covered below.

 


Solution

If non-durable deletes are issued against a strong consistency enabled namespace while strong-consistency-allow-expunge is set to false (default).


Applies To Earliest Version

Pre 4.9

Applies To Latest Version

Current Version
Was this article helpful?
2 out of 2 found this helpful