title: Aerospike Exception Error Code 4 Parameter Error when doing a put through java client
body: <p>I am processing an avro file with a list of records and doing a client.put for each record to my local Aerospike store.</p>
  
  <p>For some reason, put for a certain number of records is succeeding and it's not for the rest. I am doing this - </p>
  
  <p><code>client.put(writePolicy, recordKey, bins);</code></p>
  
  <p>The related values for the failed call are - </p>
  
  <p>namespace = test</p>
  
  <p>setname = test_set</p>
  
  <p>userkey = some_string</p>
  
  <p>write policy =  null</p>
  
  <p><strong>Bins</strong> -</p>
  
  <p>is_user:1</p>
  
  <p>prof_loc:530049,530046,530032,530031,530017,530016,500046</p>
  
  <p>rfm:Platinum</p>
  
  <p>store_browsed:some_string</p>
  
  <p>store_purch:some_string</p>
  
  <p>city_id:null</p>
  
  <p>Log Snippet -</p>
  
  <p><code>com.aerospike.client.AerospikeException: Error Code 4: Parameter error
      at com.aerospike.client.command.WriteCommand.parseResult(WriteCommand.java:72)
      at com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56)
      at com.aerospike.client.AerospikeClient.put(AerospikeClient.java:338)</code></p>
  
  <p>What could possibly be the issue?</p>