-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error TypeError: Cannot read properties of undefined (reading 'get') #94
Comments
I am getting the same error. I was working on an issue, and getting this error. By doing some logs I found that the issue is with the { detail: 'The requested resource could not be found.', status: 404 } So, this variable let endpointUrl = jsonStartResponse.urls.get; will store undefined in it. And this variable (endpointUrl) is being used in the |
Same here. Anyone has ideas on how to fix it and have roomGPT working? @gaurav-goswami I hope in you! |
@eporedieis no idea. 😅 |
So we'll wait and hope in @Nutlope 🤞🏻 |
yep |
Hello guys @eporedieis @gaurav-goswami , Could you check if your Replicate token still available? This error may happen after the free limit ends, and then you will receive a 4xx error because the API won't return the GET URL. At the same time, looking for 404 return, would be interesting to replace the string URL for the last string URL in the template, |
I confirm @germanao , the token is ok. I never added a credit card on Replicate: could be this one the problem in your opinion? For first times - according to Replicate website - they don't ask a payment method. |
Hello @eporedieis, Yes, this code doesn't have much error handling, so some problem might be masked by other errors. At the moment, two fre options are available for you to validate your code:
I'm not responsible for the repository, but I'm happy to help |
Trying the first solution I have the same problem. Trying the second one I obtain this message: I inserted the replicate api in a file called "api.env". A tried as content of this file Nothing worked. Have you any other ideas? Thank you very much for your help @germanao |
Sorry, the last message was from me. I created the second account for the new api key. |
Ok. I encountered the same and I think I just solved it.
|
at POST (webpack-internal:///(sc_server)/./app/generate/route.ts:56:46)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async eval (webpack-internal:///(sc_server)/./node_modules/next/dist/server/future/route-modules/app-route/module.js:242:37)
How to fix it ?
The text was updated successfully, but these errors were encountered: