#Chat GPT error when printing code

1 messages · Page 1 of 1 (latest)

cyan tendon
#

#1070006915414900886
Bug Report:

Steps to reproduce:

  1. visit https://chat.openai.com/chat
  2. I have the paid version of chatgpt
  3. Ask this:
    Translate this to golang using string interpolation:
    const jwksUrl = https://cognito-idp.${region}.amazonaws.com/${userPoolId}/.well-known/jwks.json;

Expected result:
const region = "us-west-2" const userPoolId = "us-west-2_abcd1234" const jwksUrl = fmt.Sprintf("https://cognito-idp.%s.amazonaws.com/%s/.well-known/jwks.json", region, userPoolId)

Actual result:

Nothing, the website displays an error
Application error: a client-side exception has occurred (see the browser console for more information).
(see screen-shots)

Additional information

Browser: Version 110.0.5481.177 (Official Build) (arm64)
OS: MacOS Ventura 13.2.1