Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 377
Eduardo Z Lorenzo Jr Avatar asked Jan 02 '14 04:01

Eduardo Z Lorenzo Jr


1 Answers

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.

like image 62
Gaurav Mantri Avatar answered Nov 16 '22 02:11

Gaurav Mantri