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.
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
I'm facing the same error when trying to create custom Auth token using Firebase Admin SDK on GKE.
google.auth.exceptions.TransportError: Error calling the IAM signBlob API: b'{\n "error": {\n "code": 400,\n "message": "Invalid form of account ID <PROJECT_ID>.svc.id.goog. Should be [Gaia ID |Email |Unique ID |] of the account",\n "status": "INVALID_ARGUMENT"\n }\n}\n'