langgenius / webapp-text-generator

MIT License
128 stars 347 forks source link

The page you are trying to access is unavailable. #3

Closed AlienHub closed 1 year ago

AlienHub commented 1 year ago

After cloning the repository, I only added the APP_ID and API_KEY fields, and then executed yarn dev. I encountered the following error message:

    data: {
      code: 'unauthorized',
      message: "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.",
      status: 401
    }

The page error is as follows: image image

AlienHub commented 1 year ago

API_KEY uses the KEY of openAI

AlienHub commented 1 year ago

API_KEY uses the KEY of openAI

应该使用Dify本身的API,参考https://github.com/langgenius/webapp-conversation/issues/2