0 votes
in Microsoft Bot Framework by

What is an ETag? How does it relate to bot data bag storage?

1 Answer

0 votes
by

An ETag is a mechanism for optimistic concurrency control. The bot data bag storage uses ETags to prevent conflicting updates to the data. An ETag error with HTTP status code 412 "Precondition Failed" indicates that there were multiple messages received in parallel before the bot could finish its first operation. The dialog stack and state are stored in bot data bags. For example, you might see the "Precondition Failed" ETag error if your bot is still processing a previous message when it receives a new message for that conversation.

Related questions

0 votes
asked Dec 21, 2021 in Microsoft Bot Framework by SakshiSharma
0 votes
asked Nov 28, 2023 in C Plus Plus by JackTerrance
...