@MSMM, please find below responses for your queries:
1- AML : Invalid Argument while trying to return the entity to queue from my entity ( actually the entity routed but this error appears ).
There is a product defect we have reported to support/product team, related to queue routing. Your issue might be same. Please check with support.
2- Attachment couldn't be uploaded while trying to upload attachment
It might be related to token authentication issue:
https://documentation.sas.com/?docsetId=bisecag&docsetTarget=n0rhb6yftn8srbn1wqxpg2s0fzfd.htm&docset...