GPT Builder File Upload Not Working

chiming in to mention that I’m not able to upload any files outside of photos in the gpt builder. have tried the workaround mentioned, no luck unfortunately!

1 Like

Also confirming I’m just running into repeated issues trying to upload a PDF file. It just says unable to upload.

2 Likes

I have tried this, same not working right now at all.

I am also dealing with the same error. Files I previously uploaded are now erroring as well. I can’t use the Create screen because I still need the file to upload first, and it won’t.

1 Like

Yeah, I’m gonna go ahead and say this is an OpenAI issue.
I Inspected the Console when trying to upload and got this error:

error in event handler: TypeError: Cannot read properties of undefined (reading ‘newValue’)
at chrome-extension://hnfanknocfeofbddgcijnmhnfnkdnaad/content.js:2:126472

Ran that through GPT and it said:
The error message you’re seeing indicates that there’s a problem in the code of the Chrome extension or web application you’re using to interact with your Custom GPT model. Specifically, it seems to be related to a TypeError involving an attempt to access the newValue property of an undefined object.

Here are some steps you can take to troubleshoot and potentially resolve the issue:

  1. Check Your Code: Examine the code in your Chrome extension or web application that’s responsible for uploading the file and interacting with your Custom GPT model. Look for any references to newValue and make sure that you are using it correctly.

  2. Console Logs: Insert console.log statements in your code to help you trace the problem. You can log the values of variables and objects to understand what’s happening before the error occurs. This can help pinpoint the source of the error.

  3. Inspect the Stack Trace: The stack trace you provided indicates that the error occurs in content.js at line 2:126472. You should go to this location in your code and examine what’s happening around that line. Look for any variables or objects that should be defined but are not.

  4. Check for Null or Undefined Values: Make sure that any variables or objects you’re trying to access, like newValue, are not null or undefined at the point where you’re trying to access their properties. You may need to add conditionals to handle these cases gracefully.

  5. Update Dependencies: If you’re using any third-party libraries or dependencies in your extension or web application, make sure they are up to date. Outdated dependencies can sometimes lead to compatibility issues.

  6. Debugging Tools: Utilize browser developer tools for debugging. You can set breakpoints in your code, inspect variables, and step through your code to understand its flow and identify the exact location of the error.

  7. Check Extension Permissions: Ensure that your Chrome extension has the necessary permissions to access the file you’re trying to upload and interact with the Custom GPT model.

  8. Check for External Factors: Sometimes errors can be caused by external factors, such as changes in the environment or updates to the browser itself. Ensure that your extension is compatible with the latest version of Chrome.

  9. Consult Documentation: Review the documentation for the Chrome extension and the Custom GPT model to ensure you are using them correctly. There may be specific requirements or best practices you need to follow.

  10. Seek Help: If you’re unable to resolve the issue on your own, consider seeking help from the developer community or the support resources provided by the creators of the Chrome extension or the Custom GPT model.

By following these steps and carefully examining your code, you should be able to identify and resolve the issue that’s causing the “TypeError: Cannot read properties of undefined (reading ‘newValue’)” error.

I am getting same failure for both PDFs and DOCX when created with Google Docs. Then I tried grabbing a random PDF that I did not create with google, it worked. I am wondering if the issue is with the doc converters - like Google.

Update, I tried saving the files as text files and that worked. I Also tried to make the PDF on a PC rather than a Mac, and thaht worked.

For now, using a converter to turn your pdf into a plain text file seems to do the trick.

I’m getting the same error and tried all above workarounds. Will try it again a bit later and see if it’s just some kind of temporary disruption on OpenAi’s end.

(Just trying to upload a 3kb .txt file as a test, lol!)

Funny thing is, it worked yesterday without issue. Hmm.

I got an upload error when the file contain “forbidden words”. Try pasting some of the content as a message and see what ChatGPT responds.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.