Eduardo Z Lorenzo Jr
Eduardo Z Lorenzo Jr

Reputation: 167

What does "unexpected response code for operation : 1" mean?

Am getting "unexpected response code for operation : 1" from an app trying to insert records in an Azure table storage.

Am basically placing the data in a TableOperation and already batching the inserts by 100 row chunks.

Can't really find much on the web about the specific "1" code in this Azure error message.

Upvotes: 11

Views: 2765

Answers (1)

Gaurav Mantri
Gaurav Mantri

Reputation: 136369

When the batch operation fails, table service returns HTTP status code 400 and along with that it sends the index of the entity which caused this batch to fail.

"unexpected response code for operation : 1"

This means there's an error while inserting entity at position 1 in your batch.

Upvotes: 16

Related Questions