Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Attempting to create a scheduled job for User Managed Notebooks

Hi, 

 

I'm trying to create a scheduled job for User Managed notebooks. I click the calendar looking icon here:

Screenshot 2025-03-04 at 09.26.47.png

And then I'm greeted with this page: 

Screenshot 2025-03-04 at 09.28.21.png

I receive this error at the bottom of the page:

Screenshot 2025-03-04 at 09.29.11.png

And when I try and click through the options I'm unable to select an environment:

Screenshot 2025-03-04 at 09.29.52.png

And nor am I able to  either select a cluser or serverless operations:

Screenshot 2025-03-04 at 09.30.20.png

Screenshot 2025-03-04 at 09.30.37.png

 What do I need to do in order to allow me to select from these options?

Solved Solved
0 1 133
1 ACCEPTED SOLUTION

Hi @mplb,

Welcome to Google Cloud Community!

The error message "TypeError: formattedResponse.forEach is not a function" indicates a problem with the data being returned from the API when fetching the Composer environment list. Specifically, the code is expecting an array that it can iterate over using forEach, but it's receiving something else, likely an object or null. Here are some possible approaches you can consider to address the issue:

  • API Connectivity Issues: Your notebook instance can't reach the Google Cloud Composer API due to firewall rules, network config, or DNS issues. Verify general network connectivity from the instance. Ensure that the service account your notebook instance is using has the correct permissions to access the Composer API.
  • No Composer Environments: You might not have any Composer environments created in your Google Cloud project. The API would then return an empty or unexpected response. If you haven't already, you can create a Composer environment in the Google Cloud console.
  • Refresh and Clear Cache: Sometimes, browser caching issues can cause UI problems. Try refreshing the page or clearing your browser's cache.
  • Use a Different Browser or Incognito Mode: Test with a different browser to rule out browser-specific issues. Sometimes, browser extensions or cached data can interfere with web applications. Try using a different browser to see if the problem persists. Alternatively, use your browser's Incognito/Private browsing mode, which disables extensions and uses a clean browsing session.
  • Check Google Cloud Status Dashboard: Go to the Google Cloud Status Dashboard to see if there are any reported incidents affecting related services in your region.

In addition, based on the Google documentation, please note that:

“Vertex AI Workbench user-managed notebooks is deprecated. On April 14, 2025, support for user-managed notebooks will end and the ability to create user-managed notebooks instances will be removed. Existing instances will continue to function but patches, updates, and upgrades won't be available. To continue using Vertex AI Workbench, complete the steps on this page to migrate your user-managed notebooks instances to Vertex AI Workbench instances.”

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.

View solution in original post

1 REPLY 1

Hi @mplb,

Welcome to Google Cloud Community!

The error message "TypeError: formattedResponse.forEach is not a function" indicates a problem with the data being returned from the API when fetching the Composer environment list. Specifically, the code is expecting an array that it can iterate over using forEach, but it's receiving something else, likely an object or null. Here are some possible approaches you can consider to address the issue:

  • API Connectivity Issues: Your notebook instance can't reach the Google Cloud Composer API due to firewall rules, network config, or DNS issues. Verify general network connectivity from the instance. Ensure that the service account your notebook instance is using has the correct permissions to access the Composer API.
  • No Composer Environments: You might not have any Composer environments created in your Google Cloud project. The API would then return an empty or unexpected response. If you haven't already, you can create a Composer environment in the Google Cloud console.
  • Refresh and Clear Cache: Sometimes, browser caching issues can cause UI problems. Try refreshing the page or clearing your browser's cache.
  • Use a Different Browser or Incognito Mode: Test with a different browser to rule out browser-specific issues. Sometimes, browser extensions or cached data can interfere with web applications. Try using a different browser to see if the problem persists. Alternatively, use your browser's Incognito/Private browsing mode, which disables extensions and uses a clean browsing session.
  • Check Google Cloud Status Dashboard: Go to the Google Cloud Status Dashboard to see if there are any reported incidents affecting related services in your region.

In addition, based on the Google documentation, please note that:

“Vertex AI Workbench user-managed notebooks is deprecated. On April 14, 2025, support for user-managed notebooks will end and the ability to create user-managed notebooks instances will be removed. Existing instances will continue to function but patches, updates, and upgrades won't be available. To continue using Vertex AI Workbench, complete the steps on this page to migrate your user-managed notebooks instances to Vertex AI Workbench instances.”

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.