ResourceExhausted desc = grpc: received message larger than max

grpc condif is set to
grpc_server_max_recv_msg_size = 50MiB

but loki is not accepting palyload greater than 32MiB.
AWS lambda is used to send logs to Loki.

Found a similar issue on git : ResourceExhausted desc = grpc: received message larger than max · Issue #2271 · grafana/loki · GitHub

Are you sure that there is no L7 device (e.g. proxy, reverse proxy, WAF, …) between that Lambda and your Loki, which may have own GRPC limit (e.g. that 32MB)?