Google Analytics 4 measurement protocol not working

Solution 1:

The object should be payload, not body.

Try to see this video: https://youtu.be/WSxdrG1G_yE