[Resolved] Cause of AerospikeError: -2 & message "invalid size for buffer:"? [Bug]

Ah, that might make sense. So this happens when the Scan returns more records than you can fit in the buffer?

We’ve actually been trying to avoid just that, but hit another snag here: https://discuss.aerospike.com/t/bug-actual-limits-of-a-llist-aer-4300/1702/3

If you can confirm I’ll just wait for that fix. Adjusting the buffer might help, but in the end I should limit how much data want to get back.