You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 19, 2026. It is now read-only.
Unable to set httpTarget update mask in gRPC scheduler client #604
There is an odd issue occurring, in which setting the httpTarget update mask on the scheduler client results in the following exception:
Error: 3 INVALID_ARGUMENT: Invalid mask for Job: httpTarget at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:26) at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:179:52) at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141) at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181) at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:145:78 at processTicksAndRejections (internal/process/task_queues.js:79:11)
I am able to reproduce the error on my local. The error is directly from the service with returning a metadata, has the following 3 fields.
I don't see any suspect error in client library or gax-nodejs. I wonder if it is possible the API service team has issue?
The most of fields of job is able to update, except for httpTarget, pubsubTarget, schedule, timezone and some of output only field is ignored.
According to AIP161"the service may choose to error with INVALID_ARGUMENT if the field is modified in input."
Will close the ticket for now. Feel free to reach out if you have further question. Thanks.
Activity
summer-ji-eng commentedon Aug 5, 2021
I am able to reproduce the error on my local. The error is directly from the service with returning a metadata, has the following 3 fields.

I don't see any suspect error in client library or gax-nodejs. I wonder if it is possible the API service team has issue?
The error log:
summer-ji-eng commentedon Aug 5, 2021
The most of fields of job is able to update, except for
httpTarget,pubsubTarget,schedule,timezoneand some of output only field is ignored.According to AIP161"the service may choose to error with INVALID_ARGUMENT if the field is modified in input."
Will close the ticket for now. Feel free to reach out if you have further question. Thanks.
chore(deps): update dependency eslint-config-prettier to v4 (#604)
chore: export GaxiosResponseWithHTTP2 (#604)
chore: export GaxiosResponseWithHTTP2 (#604)