Let me help you resubmit the e-payment for your 940 form.

Go to the E-Payment History window in the Payroll Center.
Under the Status column, if the status is Agency Rejected, then the agency has rejected the payment and sent a reason code and possible solutions.
Click the Agency Rejected link.
In the E-payment […]

Resolution for 'Agency Rejected issue: 'How do I resubmit my Q2 Federal 940 deposit? It was rejected. I have not had a problem E-filing in the past.' available: Yes.

The Agency Rejected issue or error code is a known issue in Quickbooks Online (QBO) and/or Quickbooks. Support for this issue is available either by self-service or paid support options. Experts are available to resolve your Quickbooks issue to ensure minimal downtime and continue running your business. First try to resolve the Agency Rejected issue yourself by looking for a resolution described in the article. If it is a complex Agency Rejected issue or you are unable to solve the issue, you may contact us by clicking here or by using other Agency Rejected support options.

For more information about resolving issues related to Agency Rejected in Quickbooks/QBO or to get support for the issue 'How do I resubmit my Q2 Federal 940 deposit? It was rejected. I have not had a problem E-filing in the past.', click the link below: