ChatGPT app crashes whenever there is url with %s in message


So I’ve been using ChatGPT to write code that fetches data from wiktionary and after ai response app crashed with this

errors
TypeError: URL constructor: https://%s.wiktionary.org is not a valid URL.
    NextJS 14
_app-b12560e412d4c73f.js:7:2017
TypeError: URL constructor: https://%s.wiktionary.org is not a valid URL.
    NextJS 14
_app-b12560e412d4c73f.js:7:2017
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred _app-b12560e412d4c73f.js:7:2017
    NextJS 13

Apparently it tries to call url constructor on message text for some reason. And it happens with any url that has “%s” in it.