You recieve a message like:
An error occurred while synchronizing. Could not login to the database with the username <username>
While it is possible that the ODBC datasource on the device is incorrect, this message also comes up if there is no APM user with the <username>.