Describes how to prevent race conditions and DCS error handling.
A race condition can occur if you send multiple calls simultaneously (or in rapid succession) to the DCS before it finishes responding to the initial queries and writing data to the user’s cookie. A race condition is undesirable because it can corrupt or improperly overwrite cookie data. As a best practice, consider the following methods to help avoid this problem:
Error handling is limited for invalid or poorly formed queries. An invalid request returns an
HTTP 200 OK response and no data. Also, the DCS stops processing a request, discards trait data, and returns an
HTTP 200 OK response when a user:
See also, DCS Error Codes, Messages, and Examples.