When the bad gateway or access denied errors come up when a sync with MYOB is initiated, to rectify the issue: 


1. Select the area where it says MYOB (Account Right Live or Essential) (enabled)

2. Remove the username/password fields completely and hit save 

3. Generate another sync (if it works, it will sit as "new, queued to sync") and will start syncing within a few minutes.