helpful-processor-86468
08/14/2020, 11:48 AMgcp:organizations/getIAMPolicy:getIAMPolicy returned an error: grpc: error while marshaling: proto: repeated field Values has nil element
with:
scheduler_policy_func_invoker = organizations.get_iam_policy(bindings=[
{
"members": [job_account_member],
"role": "roles/cloudfunctions.invoker",
},
])
witty-ice-69000
08/14/2020, 12:01 PMjob_account_member
variable is empty. Perhaps it's an async problem where the future/promise isn't working as expected but in any case the opaque (to the Python layer) error message is clearly abstraction bleed-through that hasn't been captured properly.
If you can replace job_account_member
with the literal text I suspect your problem will disappear.helpful-processor-86468
08/14/2020, 12:03 PMjob_account_member
is a product of using apply on this service accountwitty-ice-69000
08/14/2020, 12:08 PMOutput.apply()
as the correct solution but that definitely didn't work in my case.helpful-processor-86468
08/14/2020, 12:22 PMcloud scheduler
that takes this job_account_member
as a parameter.witty-ice-69000
08/14/2020, 12:34 PMhelpful-processor-86468
08/14/2020, 12:48 PM