The ticket parameter is invalid

This error message means that QuickBooks Desktop lost connection to the file during the sync.    Attempting another sync usually resolves the issue. 

You may also see this error:   Unexpected error. Check the "qbsdklog.txt" file for possible additional information.     If the issue continues you will need to edit enable 'verbose logging'.  Please follow these steps.   Once completed, send the qbsdklog.txt file to support for evaluation.