Hey there,
I’m currently developing a ChatGPT plugin and keep hitting the “Oops, an error occurred!” screen (See screenshot below)
Oddly enough, the error does not appear right after receiving the response from my API server, but rather after the GPT4 has already written quite a bit of its response. This makes it only semi-reproducible (and even harder to reproduce, since it usually occurs only a few backs and forwards in the conversation).
The error seems to occur within the frontend code, as I get the following error output within my browser’s console:
_app-55d90209475fa720.js:28 TypeError: Cannot read properties of undefined (reading 'reduce')
at 851-fbf95cd779a9ed7c.js:1:379838
at Array.map (<anonymous>)
at 851-fbf95cd779a9ed7c.js:1:379741
at Object.useMemo (framework-e23f030857e925d4.js:9:67227)
at n.useMemo (framework-e23f030857e925d4.js:25:5986)
at 851-fbf95cd779a9ed7c.js:1:379720
at ab (framework-e23f030857e925d4.js:9:60917)
at ud (framework-e23f030857e925d4.js:9:72803)
at us (framework-e23f030857e925d4.js:9:72009)
at ui (framework-e23f030857e925d4.js:9:71614)
at i (framework-e23f030857e925d4.js:9:122828)
at oO (framework-e23f030857e925d4.js:9:99114)
at framework-e23f030857e925d4.js:9:98981
at oF (framework-e23f030857e925d4.js:9:98988)
at ox (framework-e23f030857e925d4.js:9:95740)
at oS (framework-e23f030857e925d4.js:9:94295)
at x (framework-e23f030857e925d4.js:33:1373)
at MessagePort.T (framework-e23f030857e925d4.js:33:1903)
Slowly but surely this is starting to drive me crazy as I’m not sure if the bug is on my side or just on OpenAI’s side, so I would really appreciate any feedback on this.
Thanks in advance for your help!