HTTP 431: too big cookie header after multiple sessions
The API does not accept the request, even though the body is small and correct.
How to identify the source of the problem
Check the cookie header size and number of duplicate cookies for the domain.
Save method, status, headers and anonymized body requests and answers.
Repair steps
Remove outdated cookies by valid Max-Age/Path and keep the large session data on the server side.
How to Test Solution
Request passes without exceeding the header limit, and the session works properly.
Security and restrictions
Do not disable authorization or validation of webhook signature for status 200. Wash the tokens in the logs.