Some endpoint calls return 502 HTTP code due to invalid token.
The bug appears under huge workload i.e. performance tests or Malawi instance normal usage. Some requests return error code as a response. An error message indicates that an authorization token is invalid. Most often, it occurs for stock management.
The easiest way to reproduce the bug is to run performance tests since they keep failing.
the output of this ticket should be the cause of occurring this bug and implemented solutions