Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error code 400 trying to sign provided bytes

Hi,

I have been getting this error for sign URL (GCP Storage). 
java.io.IOException: Error code 400 trying to sign provided bytes: Invalid form of account ID <PROJECT_ID>.svc.id.goog. Should be [Gaia ID |Email |Unique ID |] of the account.

this is the Java code that i have.

shoaib_0-1720409567677.png

I have also assigned 

roles/iam.serviceAccountTokenCreator

to the App Engine default service account and to the service account used for this microservice.
any help would be appreciated.

Thanks

3 1 615