Thanks for posting in the Community!
Once you've set up your payroll and before you begin lodging pay events under STP Phase 2, please ensure you have created and lodged an Update Event so the ATO can validate the data that will be transitioned over to STP Phase 2.
All list of all employees related to that pay schedule will appear on the screen along with their year-to-date payroll details.
I would like to share with you this article for your future reference: Lodge Single Touch Payroll (STP) events for closely held employees.
Feel free to leave a comment below if you need further assistance. Have a great day!
There are several factors with the error you're getting, one is a 0 pay event is lodged or a standing authority is needed before you can lodge the pay event. To better assist you, I'd recommend reaching out to our Customer Care Team. That way, one of our support can take a look on your payroll account and the pay event you're trying to lodge in a secure form.
Here's how to contact support:
Also, you can check this article to learn more about how to lodge STP for Phase 2:
As always you can comment below if you need more help with QuickBooks Online. Have a great day!