> ## Documentation Index
> Fetch the complete documentation index at: https://support.servicem8.com/llms.txt
> Use this file to discover all available pages before exploring further.

# When connecting to Xero, why do I get the app has requested access to data error?

This error is usually related to Automated Timesheet Sync and Xero Payroll access requirements.

When Automated Timesheet Sync is enabled, ServiceM8 requires payroll access in Xero for the add-on to function.

To resolve this, in ServiceM8 go to **Account** > **Features & Integrations**, disable **Automated Timesheet Sync**, then run through the Xero connection process again. Make sure both your Xero account and the logged-in Xero user profile have Xero Payroll access before reactivating Automated Timesheet Sync.

## Related resources

* [How to send shift times to Xero, MYOB or QuickBooks as a timesheet](/help-center/servicem8-add-ons/servicem8-add-ons/how-to-send-shift-times-to-xero-myob-or-quickbooks-as-a-timesheet)
