there could be different reasons for failing the publish.
You can check:
1.) the Vuforia Studio log file. Start a new Vuforia Studio session and try to reproduce the problem when you publish. When the issue occurs then open the studio log file via the View Logs link (picture). What is the error in the log file?