Cannot exercise contract with Java API to DAML Hub

Hi @mundacho,

Could you please confirm that you are using the same application ID in both your token and the command submission? The only SubmitAndWait submission that I could find in the logs fail with:

PERMISSION_DENIED(7,0): Claims are only valid for applicationId 'damlhub', actual applicationId is 'toplBrokerApp'

When a command fails, you usually get a rejection (either an error, or timing out), you should implement at least logging of these rejections/responses.