Error while trying reprogram scheduled maintenance

Hey folks, I’m stuck trying to reschedule a maintenance window for my Cloud SQL instance [INSTANCE_NAME] in project [PROJECT_ID]. It’s currently set for April 22, 2025, 07:00 UTC-3, and I want to shift it to April 30, 2025, 03:00 UTC-3. I’m using this command:

gcloud sql reschedule-maintenance [INSTANCE_NAME] --reschedule-type=SPECIFIC_TIME --schedule-time=2025-04-30T06:00Z --project=[PROJECT_ID].

But I keep hitting an HTTP 500 error: “An internal error has occurred (ramdon error ID)”. Tried a few times and even the Cloud Console, no luck. Anyone got ideas on what’s going wrong? Would really appreciate some help here—thanks a ton in advance!

Hi @psgomes ,

According to this documentation, the time format used in the command should be in ISO 8601. In your case, you missed out on including the seconds and milliseconds which may have caused the error. To resolve this, you may try using 2025-04-30T06:00:00.000Z.

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.