ERPNext Quickbooks Migrator failing to connect to Quickbooks

I am trying to connect ERPNext to Quickbooks. I have managed to setup an instance of Quickboks for the integration. However, when I select the Fetch Data button in the Migrator preview page, I get a status change from In progress then the data migration fails then the status changes to failed. I have correctly set the IDs, secrets and redirect URIs with the keys on the Quickbooks instance.No accompanying error logs are shown despite this failure.

Below is a sample output: