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

Vertex Studio Text Prompt Errors--Some Strange Update Overnight?

 

Hi,

When I type in queries into Vertex Studio interface, I get errors below. Strangely, I don’t think I changed any settings or anything else; I woke up and the interface seems like it cannot handle any queries anymore (see attached sample error from interface and also listed below). Did google have some update which affected the ability to make standard text prompt requests to models overnight?

Screenshot 2024-08-15 at 7.21.08 AM.png

 

 
i.)  ERROR  Cannot read properties of null (reading 'length')

ii.) ERROR null is not an object (evaluating 'k.length')

 

 
 
Solved Solved
1 12 1,073
1 ACCEPTED SOLUTION

Hello, Simes, I solved the problem.

Please contact me via (PII Removed by Staff)

View solution in original post

12 REPLIES 12

this is for a custom model I fine-tuned.

I just trained a sample model from scratch with data given by google in a fresh clean email account (in case my account was corrupted somehow) and still got the same error. Can anyone use the Vertex Studio interface right now with a fine-tuned model without any errors????

I'm still having this issue; did google make some breaking change this week to Vertex interface?

It looks like you're running into some issues with Vertex Studio. These "Cannot read properties of null" errors usually indicate that the system is trying to access or use a variable or object that hasn't been properly initialized or assigned a value.
 
Here's what we can do to troubleshoot this:
 
1. Check for Platform Issues:
Status Dashboard: Start by checking the Google Cloud Status Dashboard to see if there are any known outages or incidents affecting Vertex AI services. This is always a good first step.
 
Recent Updates: Google Cloud sometimes releases updates that might introduce temporary glitches. Review the recent release notes for Vertex AI to see if anything relevant stands out.
 
2. Verify your Setup:
Project and Region: Double-check that you've selected the correct Google Cloud project and region in Vertex Studio.
 
Model Deployment: Make sure the model you're trying to use is correctly deployed and accessible. If you're using a custom model, ensure it's deployed to an endpoint.
 
Authentication: Confirm that your user account has the necessary permissions to access and use Vertex AI resources.
 
3. Inspect the Code (if applicable):
Preprocessing: If you're using any custom code for preprocessing your input data before sending it to the model, review it carefully for errors. An issue in your preprocessing could be causing the null values.
 
Input Data: Carefully examine the data you're sending to the model. Is there any chance it contains unexpected null or empty values?
 
4. Clear Cache and Cookies:
It might sound simple, but sometimes clearing your browser's cache and cookies can resolve odd behaviors in web interfaces.
 
5. Contact Support:
If you've tried the above steps and are still encountering the error, don't hesitate to contact Google Cloud Support. They have the tools and expertise to help diagnose and fix the problem.

@CincyAI513 i'm going to try this in next 1-2 days and follow-up; thanks for the reply.  I have a hunch if might be a recent update.

Hello @jsniff12 
Did you solve this problem?

I wanna discuss with you,

Thanks

Same if there is any answer

Hello, Simes, I solved the problem.

Please contact me via (PII Removed by Staff)

Hi,

The messaging option was removed for security reasons.
could your reach out to me on messenssimon ( last part is the common google mail extension) 

Regards,
Simon

@romankyry how did you solve? seems your email was removed. Can I message you? my personal email: jsniff12  ( last part is the common google mail extension) 

@romankyry  I haven't tried it yet; will get to it next 1-3 days.

one user reached out and I changed some permission issue that didn't seem to exist previously and the issue was fixed after waiting a few hours. @romankyry