# \#error

**URL:** https://discuss.aerospike.com/tag/error/61.md

[Latest](https://discuss.aerospike.com/latest.md) · [Categories](https://discuss.aerospike.com/categories.md) · [Tags](https://discuss.aerospike.com/tags.md)

---

## [KEY\_NOT\_FOUND (Error 2) on put() with UPDATE + EXPECT\_GEN\_EQUAL when record is deleted or expired concurrently](https://discuss.aerospike.com/t/key-not-found-error-2-on-put-with-update-expect-gen-equal-when-record-is-deleted-or-expired-concurrently/12830)

<div class="topic-metadata">

**Author:** [@sumitCentro](https://discuss.aerospike.com/u/sumitCentro)\
**Replies:** 2\
**Last updated:** [May 11, 2026, 5:04pm UTC](https://discuss.aerospike.com/t/key-not-found-error-2-on-put-with-update-expect-gen-equal-when-record-is-deleted-or-expired-concurrently/12830 "2026-05-11T17:04:47Z")

</div>

Summary We are observing KEY\_NOT\_FOUND (ResultCode 2) errors on AerospikeClient.put() calls when using RecordExistsAction.UPDATE combined with GenerationPolicy.EXPECT\_GEN\_EQUAL. Per the Aerospike documentation, RecordEx…

---

## [Want to do an aggregation using Lua UDF](https://discuss.aerospike.com/t/want-to-do-an-aggregation-using-lua-udf/12557)

<div class="topic-metadata">

**Author:** [@ghrahul](https://discuss.aerospike.com/u/ghrahul)\
**Replies:** 0\
**Last updated:** [October 4, 2025, 10:24am UTC](https://discuss.aerospike.com/t/want-to-do-an-aggregation-using-lua-udf/12557 "2025-10-04T10:24:59Z")

</div>

I am trying to calculate the number of records where TTL is set to never expire(-1) and the age of the record is more than 45 days. And the count of records where age is less than 45 days and TTL is set to never expire (…

---

## [Batch Writes Failing with NO\_AVAILABLE\_CONNECTIONS\_TO\_NODE](https://discuss.aerospike.com/t/batch-writes-failing-with-no-available-connections-to-node/11479)

<div class="topic-metadata">

**Author:** [@iamitpatil1993](https://discuss.aerospike.com/u/iamitpatil1993)\
**Replies:** 1\
**Last updated:** [September 13, 2024, 3:19pm UTC](https://discuss.aerospike.com/t/batch-writes-failing-with-no-available-connections-to-node/11479 "2024-09-13T15:19:14Z")

</div>

Hi All, We are using Aerospike on production for one of our use case. We perform both read as well as write transactions on the DB. Currently, in one of the flow, we update ~1.5K records with individual DB calls one aft…

---

## [Getting InvalidNamespace: Error 20,1: Partition map empty with java client only, go client is fine](https://discuss.aerospike.com/t/getting-invalidnamespace-error-20-1-partition-map-empty-with-java-client-only-go-client-is-fine/11205)

<div class="topic-metadata">

**Author:** [@bobbyajp](https://discuss.aerospike.com/u/bobbyajp)\
**Replies:** 4\
**Last updated:** [June 13, 2024, 8:10pm UTC](https://discuss.aerospike.com/t/getting-invalidnamespace-error-20-1-partition-map-empty-with-java-client-only-go-client-is-fine/11205 "2024-06-13T20:10:41Z")

</div>

Running a 7.1.0.1 local aero server, the following code in go works (v7 sdk) cp := aero.NewClientPolicy() cp.User = "" cp.Password = "" cp.Timeout = 1 \* time.Second ash := aero.NewHost("127.0.0.1", 3000) client, e…

---

## [findByIndexed fails "Id must not be null"](https://discuss.aerospike.com/t/findbyindexed-fails-id-must-not-be-null/10586)

<div class="topic-metadata">

**Author:** [@Hetal\_Rathod](https://discuss.aerospike.com/u/Hetal_Rathod)\
**Replies:** 6\
**Last updated:** [November 20, 2023, 5:02pm UTC](https://discuss.aerospike.com/t/findbyindexed-fails-id-must-not-be-null/10586 "2023-11-20T17:02:46Z")

</div>

Hi Team, Can anyone please help me on the below issue - I am trying to fetch an entity based on an indexed field. Spring Data is actually able to retrieve the entity from Aerospike DB but unfortunately, it is not sendi…

---

## [Go client EOF error](https://discuss.aerospike.com/t/go-client-eof-error/10138)

<div class="topic-metadata">

**Author:** [@Ramakant\_Soni](https://discuss.aerospike.com/u/Ramakant_Soni)\
**Replies:** 3\
**Last updated:** [April 19, 2023, 3:09pm UTC](https://discuss.aerospike.com/t/go-client-eof-error/10138 "2023-04-19T15:09:30Z")

</div>

Hi everyone, I am randomly facing an issue whenever I am setting data corresponding to a aerospike key or while deleting any key. Error I am getting is EOF that’s all. And I am getting this error randomly and quite freq…

---

## [Segmentation fault in Aerospike Server while deleting record using BatchWrite](https://discuss.aerospike.com/t/segmentation-fault-in-aerospike-server-while-deleting-record-using-batchwrite/10059)

<div class="topic-metadata">

**Author:** [@sunilsaini](https://discuss.aerospike.com/u/sunilsaini)\
**Replies:** 7\
**Last updated:** [March 3, 2023, 3:26pm UTC](https://discuss.aerospike.com/t/segmentation-fault-in-aerospike-server-while-deleting-record-using-batchwrite/10059 "2023-03-03T15:26:42Z")

</div>

Hi Recently we have upgraded our Aerospike version from community edition version 5 to enterprise edition version 6.1.0 for Batch write support. But while using it we encountered Segmentation fault error on Aerospike Se…

---

## [SISSEGV error causing downtime of application](https://discuss.aerospike.com/t/sissegv-error-causing-downtime-of-application/9883)

<div class="topic-metadata">

**Author:** [@abhinav\_sinha](https://discuss.aerospike.com/u/abhinav_sinha)\
**Replies:** 5\
**Last updated:** [November 30, 2022, 2:47pm UTC](https://discuss.aerospike.com/t/sissegv-error-causing-downtime-of-application/9883 "2022-11-30T14:47:02Z")

</div>

We are using community edition aerospike server. the server however goes down giving an error SIGSEGV received, aborting Aerospike Community Edition build 5.7.0.9 os el7. Has anyone else faced this, any help will be muc…

---

## [Connectivity issue with different Aerospike enterprise versions via AS client 5.1.11](https://discuss.aerospike.com/t/connectivity-issue-with-different-aerospike-enterprise-versions-via-as-client-5-1-11/9598)

<div class="topic-metadata">

**Author:** [@Badri](https://discuss.aerospike.com/u/Badri)\
**Replies:** 2\
**Last updated:** [July 16, 2022, 4:51am UTC](https://discuss.aerospike.com/t/connectivity-issue-with-different-aerospike-enterprise-versions-via-as-client-5-1-11/9598 "2022-07-16T04:51:54Z")

</div>

Hi, We are using Aerospike enterprise versions 3.x to 5.x. Now we upgraded Aerospike client 4.1.3 → 5.1.11, after upgrade we are facing issue with 3.x version Aerospike servers. Please find below error for the same. Ca…

---

## [Unexpected stop-writes](https://discuss.aerospike.com/t/unexpected-stop-writes/9278)

<div class="topic-metadata">

**Author:** [@Goes\_Off](https://discuss.aerospike.com/u/Goes_Off)\
**Replies:** 1\
**Last updated:** [March 13, 2022, 9:11pm UTC](https://discuss.aerospike.com/t/unexpected-stop-writes/9278 "2022-03-13T21:11:53Z")

</div>

Version E-5.7.0.9 I have got the error Error 8,1,0,30000,0,0,BB9B692C56B1FAC 127.0.0.1 3000: Server memory error. Replication factor 1 namespace linkage { replication-factor 1 memory-size 64G de…

---

## [Aerospike tries to connect to dead node](https://discuss.aerospike.com/t/aerospike-tries-to-connect-to-dead-node/8609)

<div class="topic-metadata">

**Author:** [@Vasilii\_Parshkin](https://discuss.aerospike.com/u/Vasilii_Parshkin)\
**Replies:** 5\
**Last updated:** [March 10, 2022, 9:29am UTC](https://discuss.aerospike.com/t/aerospike-tries-to-connect-to-dead-node/8609 "2022-03-10T09:29:56Z")

</div>

Hello. We are using Aerospike Community Edition build 5.6.0.7. We are running aerospike in cluster mode in AWS. When one of node is down we remove it via tip-clear command and it is working correctly. However I see in th…

---

## [Java client read throws "Error Code -2: Unexpected batch key returned: null,,0"](https://discuss.aerospike.com/t/java-client-read-throws-error-code-2-unexpected-batch-key-returned-null-0/9218)

<div class="topic-metadata">

**Author:** [@shan.p](https://discuss.aerospike.com/u/shan.p)\
**Replies:** 3\
**Last updated:** [February 16, 2022, 12:39am UTC](https://discuss.aerospike.com/t/java-client-read-throws-error-code-2-unexpected-batch-key-returned-null-0/9218 "2022-02-16T00:39:21Z")

</div>

I am seeing an Aerospike Java client read error when reading a record from Aerospike Enterprise server. Aerospike Java client: 4.0.4 (I agree this is an old version. I will upgrade to later version, but I still want to …

---

## [Failed to run lua multi module aggregation function using java client. Module not found error](https://discuss.aerospike.com/t/failed-to-run-lua-multi-module-aggregation-function-using-java-client-module-not-found-error/9080)

<div class="topic-metadata">

**Author:** [@sleshJdev](https://discuss.aerospike.com/u/sleshJdev)\
**Replies:** 3\
**Last updated:** [December 21, 2021, 4:46pm UTC](https://discuss.aerospike.com/t/failed-to-run-lua-multi-module-aggregation-function-using-java-client-module-not-found-error/9080 "2021-12-21T16:46:16Z")

</div>

Hi Let’s just cat to the chase. I want to create mini LUA framework(set of UDF) allowing us to run different aggregations on the aerospike. Here you may find toy project which demonstrates it. Everything works fine whil…

---

## [What are the most likely reasons for GENERATION\_ERROR?](https://discuss.aerospike.com/t/what-are-the-most-likely-reasons-for-generation-error/3478)

<div class="topic-metadata">

**Author:** [@AlexK](https://discuss.aerospike.com/u/AlexK)\
**Replies:** 5\
**Last updated:** [October 29, 2021, 10:45pm UTC](https://discuss.aerospike.com/t/what-are-the-most-likely-reasons-for-generation-error/3478 "2021-10-29T22:45:15Z")

</div>

I’m using Aerospike cluster and got the ‘Error Code 3: Generation error count’ in Java code which write info to the DB. What are the most likely reasons for getting this error? Thank you

---

## [Getting error for BatchGet and FilterExpression](https://discuss.aerospike.com/t/getting-error-for-batchget-and-filterexpression/8824)

<div class="topic-metadata">

**Author:** [@zserg](https://discuss.aerospike.com/u/zserg)\
**Replies:** 5\
**Last updated:** [September 29, 2021, 12:15pm UTC](https://discuss.aerospike.com/t/getting-error-for-batchget-and-filterexpression/8824 "2021-09-29T12:15:58Z")

</div>

Hello. I am trying to use BatchGet operation with filter expression. And if at least one bin of the set does not match the conditions, I get error ““ResultCode: FILTERED\_OUT, Iteration: 0, InDoubt: false, Node: : Transac…

---

## [Frequent Aerospike Client Timeouts at 1000 RPS](https://discuss.aerospike.com/t/frequent-aerospike-client-timeouts-at-1000-rps/8658)

<div class="topic-metadata">

**Author:** [@sahilchaudhary01](https://discuss.aerospike.com/u/sahilchaudhary01)\
**Replies:** 3\
**Last updated:** [July 31, 2021, 1:00am UTC](https://discuss.aerospike.com/t/frequent-aerospike-client-timeouts-at-1000-rps/8658 "2021-07-31T01:00:26Z")

</div>

Hello Everyone, Need some guidance on how to tune Aerospike to handle high volume traffic . In our application , we are using aerospike community edition ( 5.6.0.4) and currently we are facing frequent aerospike client …

---

## [Aerospike backup fails with code 4](https://discuss.aerospike.com/t/aerospike-backup-fails-with-code-4/8419)

<div class="topic-metadata">

**Author:** [@Conrad](https://discuss.aerospike.com/u/Conrad)\
**Replies:** 3\
**Last updated:** [May 29, 2021, 5:21pm UTC](https://discuss.aerospike.com/t/aerospike-backup-fails-with-code-4/8419 "2021-05-29T17:21:45Z")

</div>

Hello everyone! We encountered an error while creating an aerospike backup: 2021-04-30 06:55:09 GMT \[INF\] \[68013\] 25% complete (~44319 KiB/s, ~6042 rec/s, ~7510 B/rec) 2021-04-30 06:55:09 GMT \[INF\] \[68013\] ~1h19m2s rema…

---

## [Parallel reads gives "Operation not allowed at this time"](https://discuss.aerospike.com/t/parallel-reads-gives-operation-not-allowed-at-this-time/8348)

<div class="topic-metadata">

**Author:** [@Aditya\_Gupta](https://discuss.aerospike.com/u/Aditya_Gupta)\
**Replies:** 18\
**Last updated:** [April 15, 2021, 12:39am UTC](https://discuss.aerospike.com/t/parallel-reads-gives-operation-not-allowed-at-this-time/8348 "2021-04-15T00:39:35Z")

</div>

I am trying to make 50 concurrent read requests. But it fails with the following error stack trace: AerospikeError: Operation not allowed at this time. at Function.fromASError (/Users/.../node\_modules/aerospike/lib/…

---

## [Aerospike::Exceptions::InvalidNode: Invalid node on Ruby Aerospike Client](https://discuss.aerospike.com/t/aerospike-invalid-node-on-ruby-aerospike-client/8192)

<div class="topic-metadata">

**Author:** [@mubashirkamran](https://discuss.aerospike.com/u/mubashirkamran)\
**Replies:** 1\
**Last updated:** [February 1, 2021, 6:22am UTC](https://discuss.aerospike.com/t/aerospike-invalid-node-on-ruby-aerospike-client/8192 "2021-02-01T06:22:38Z")

</div>

Hello, We are using aerospike client library GitHub - aerospike/aerospike-client-ruby: Ruby client for the Aerospike database version v2.18.0 to communicate with AES cluster. We get a lot of Aerospike::Exceptions::Inval…

---

## [Background job reports "done(ok)" while some records failed](https://discuss.aerospike.com/t/background-job-reports-done-ok-while-some-records-failed/8166)

<div class="topic-metadata">

**Author:** [@fschaeffler](https://discuss.aerospike.com/u/fschaeffler)\
**Replies:** 7\
**Last updated:** [January 20, 2021, 11:01am UTC](https://discuss.aerospike.com/t/background-job-reports-done-ok-while-some-records-failed/8166 "2021-01-20T11:01:50Z")

</div>

During the execution of a background UDF job, we had the following errors in our server log. Jan 18 2021 13:26:28 GMT: DEBUG (socket): (socket.c:1044) Error while sending on FD 127: 11 (Resource temporarily unavailable)…

---

## [Couldn't find what cause client\_write\_error](https://discuss.aerospike.com/t/couldnt-find-what-cause-client-write-error/8064)

<div class="topic-metadata">

**Author:** [@totola](https://discuss.aerospike.com/u/totola)\
**Replies:** 4\
**Last updated:** [December 19, 2020, 7:08am UTC](https://discuss.aerospike.com/t/couldnt-find-what-cause-client-write-error/8064 "2020-12-19T07:08:32Z")

</div>

one node replication factor: 1 mode : only memory version:4.5.0.5 community our client\_write\_error is growing from time to time , but fail\_xxxx are all zero \[root@AMZ\]# asadm --single\_node\_cluster -e "show statis…

---

## [Many errors 9 (AS\_ERR\_TIMEOUT)](https://discuss.aerospike.com/t/many-errors-9-as-err-timeout/7903)

<div class="topic-metadata">

**Author:** [@oneQuestion](https://discuss.aerospike.com/u/oneQuestion)\
**Replies:** 3\
**Last updated:** [October 13, 2020, 3:00am UTC](https://discuss.aerospike.com/t/many-errors-9-as-err-timeout/7903 "2020-10-13T03:00:15Z")

</div>

https://stackoverflow.com/questions/64239184/aerospike-php-client-many-errors-number-9-as-err-timeout Hello, everyone! There is a problem. The code doesn’t work, and it returns error number 9 (error timeout). The functi…

---

## [Drop all secondary indexes](https://discuss.aerospike.com/t/drop-all-secondary-indexes/7366)

<div class="topic-metadata">

**Author:** [@Rod\_McCutcheon](https://discuss.aerospike.com/u/Rod_McCutcheon)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 7:11am UTC](https://discuss.aerospike.com/t/drop-all-secondary-indexes/7366 "2020-06-09T07:11:46Z")

</div>

Today we maxed out the number of secondary indexes and get the following error using the Java client: com.aerospike.client.AerospikeException: Error Code 206: Create index failed: FAIL:206:Reached maximum number of sinde…

---

## [Client's error codes mapping with server's error codes](https://discuss.aerospike.com/t/clients-error-codes-mapping-with-servers-error-codes/5951)

<div class="topic-metadata">

**Author:** [@vishal14101993](https://discuss.aerospike.com/u/vishal14101993)\
**Replies:** 8\
**Last updated:** [February 26, 2019, 10:43pm UTC](https://discuss.aerospike.com/t/clients-error-codes-mapping-with-servers-error-codes/5951 "2019-02-26T22:43:35Z")

</div>

I wanted to know which error codes(of c client) are mapped to the server’s error-codes in the scenario when the data is unavailable in the SC mode(unavailable partitions/dead partitions). The server’s error codes( PARTI…

---

## [Error 215 during Aggregation on Python Client](https://discuss.aerospike.com/t/error-215-during-aggregation-on-python-client/5421)

<div class="topic-metadata">

**Author:** [@lzuwei](https://discuss.aerospike.com/u/lzuwei)\
**Replies:** 1\
**Last updated:** [August 4, 2018, 1:36pm UTC](https://discuss.aerospike.com/t/error-215-during-aggregation-on-python-client/5421 "2018-08-04T13:36:45Z")

</div>

We encountered a problem when running map reduce on a large dataset with python client. The intention is to query on a secondary index then filter the records with a UDF to get an aggregate count on different status. Whe…

---

## [Aerospike Python Client exception.ConnectionError: (-10, 'Socket read error: 11,](https://discuss.aerospike.com/t/aerospike-python-client-exception-connectionerror-10-socket-read-error-11/5258)

<div class="topic-metadata">

**Author:** [@lzuwei](https://discuss.aerospike.com/u/lzuwei)\
**Replies:** 0\
**Last updated:** [June 19, 2018, 2:26pm UTC](https://discuss.aerospike.com/t/aerospike-python-client-exception-connectionerror-10-socket-read-error-11/5258 "2018-06-19T14:26:33Z")

</div>

We are using aeropsike python client and are encountering many exception.ConnectionError: (-10, 'Socket read error: 11, xxx.xxx.xxx.xxx:3000, 47352', 'src/main/aerospike/as\_socket.c', 248, False) happening. It seems to …

---

## [Aerospike instance behaving irregularly](https://discuss.aerospike.com/t/aerospike-instance-behaving-irregularly/5187)

<div class="topic-metadata">

**Author:** [@swayamraina](https://discuss.aerospike.com/u/swayamraina)\
**Replies:** 2\
**Last updated:** [May 21, 2018, 11:01am UTC](https://discuss.aerospike.com/t/aerospike-instance-behaving-irregularly/5187 "2018-05-21T11:01:05Z")

</div>

Aerospike server is up and running and AQL (CLI) is working fine whereas my JAVA client is throwing SocketConnectionException randomly i.e. some queries are working fine and some are not. The Wrapper Exception is Aerospi…

---

## [As\_queue exceptions on Windows](https://discuss.aerospike.com/t/as-queue-exceptions-on-windows/4887)

<div class="topic-metadata">

**Author:** [@yncraig](https://discuss.aerospike.com/u/yncraig)\
**Replies:** 2\
**Last updated:** [February 14, 2018, 3:42pm UTC](https://discuss.aerospike.com/t/as-queue-exceptions-on-windows/4887 "2018-02-14T15:42:35Z")

</div>

Hi Community, While using Aerospike c libevent client on Windows, I ran into some errors in debug mode. Am I not configuring client correctly? Runtime exception at as\_queue.c line 226: memcpy(ptr, as\_queue\_get(queue, …

---

## [Aerospike C client windows compilation on Visual Studios](https://discuss.aerospike.com/t/aerospike-c-client-windows-compilation-on-visual-studios/4930)

<div class="topic-metadata">

**Author:** [@yncraig](https://discuss.aerospike.com/u/yncraig)\
**Replies:** 4\
**Last updated:** [February 8, 2018, 11:54pm UTC](https://discuss.aerospike.com/t/aerospike-c-client-windows-compilation-on-visual-studios/4930 "2018-02-08T23:54:06Z")

</div>

Visual Studios is giving me these complaints, but the project compiled. How do I get them resolved? Thanks

---

## [Generic UDF Error](https://discuss.aerospike.com/t/generic-udf-error/4493)

<div class="topic-metadata">

**Author:** [@davidwin](https://discuss.aerospike.com/u/davidwin)\
**Replies:** 1\
**Last updated:** [August 15, 2017, 5:39am UTC](https://discuss.aerospike.com/t/generic-udf-error/4493 "2017-08-15T05:39:12Z")

</div>

I was wondering why this line would be showing up in the aerospike logs. INFO (udf): (udf.c:1204) lua error, ret:0

[Next page](https://discuss.aerospike.com/tag/error/61.md?match_all_tags=true&page=1&tags%5B%5D=error)
