
This error happens for two main reasons:
Google's services are having temporary issues. This usually resolves itself quickly.
Google doesn't provide much detail, but they confirm that spreadsheets with high complexity can trigger this error. This includes:
The Sheets API returns a 503 error when the service is unavailable or when the complexity of the request or spreadsheet is high.
source: Troubleshoot Sheets API errors - google.com
Simply wait a few hours and retry your bot. The service should be back up, usually shortly.
If retrying doesn't work after several attempts, your spreadsheet might be too complex: