If you receive an "Invalid payload" error when sending events, there may be a typo or a parameter value in the wrong format.
To troubleshoot, review this documentation, which includes an example payload sending three events for the same user: a click event, a view event, and a conversion event. This will help you verify whether your event data is being sent in the correct format.