Finding out what's wrong with my cloud run job update?

I keep getting this error: "RESOURCE_PROJECT_INVALID"

Here's how i'm building my job (in python):
```

 

job = run_v2.Job(
    template=run_v2.ExecutionTemplate(
        template=run_v2.TaskTemplate(
            max_retries=max_retries,
            containers=[
                run_v2.Container(
                    image=image_name,
                    env=env_vars_build,
                )
            ],
        ),
    ),
    client_version="1",
)

 

The output to this looks good, but I keep getting this error. How do i know which resource is invalid? 

 

grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
        status = StatusCode.INVALID_ARGUMENT
        details = "Invalid resource field value in the request."
        debug_error_string = "UNKNOWN:Error received from peer ipv4:74.125.197.95:443 {grpc_message:"Invalid resource field value in the request.", grpc_status:3, created_time:"2024-05-13T06:48:07.964287-07:00"}"
>

 

2 2 89
2 REPLIES 2

I believe you need to specify the name of your project (while running the CLI command or see if it can be done as part of your build template). See this related question/response from stackoverflow.

 

  ......NoCommandLine ......
https://nocommandline.com
        Analytics & GUI for 
App Engine & Datastore Emulator

 

Yeah, i saw that and tried that - no good 😞