On the afternoon of January 6, 2025, the update_service method from the Python library google.cloud.run_v2 unexpectedly stopped working. The following code snippet demonstrates the issue:
mask =field_mask_pb2.FieldMask(paths=["labels", "template.labels", "template.revision"])update_request = run_v2.UpdateServiceRequest( service=service, update_mask=mask )
operation = await run_client.update_service(request=update_request)
Hi @Heang,
Welcome to Google Cloud Community!
Are you getting a specific error? I suggest looking it up on the Cloud Run logs for a more specific error message. Also, if you are using an end-of-life version of Python, I recommend to update it as soon as possible to an actively supported version. Please refer to this GitHub documentation for Google Cloud Python. You can also check your code snippet here if there are any required parameters that have changed or a new configuration needed.
If the issue still persists, I recommend reaching out or file a case to Google Cloud Support for 1:1 technical support as they have the right resources to check your project, but please be informed that the support is only available for a paid account. Or, if you believe that there is a bug with the Cloud Run Service Control Plane API, you can file a bug issue. However, please be informed that I can’t provide a timeline as to when this will be fixed. Have a read of what to expect after you’ve opened an issue.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
I am using Python 3.12 or later and encountering an internal error with the GCP API:
This issue began on January 6, 2025, without any changes to my original code, which had been working correctly until then.
Key Observations: