hello everyone, i'm trying to use openAI API in my project, so i followed the step-by-step configuration that i found here: https://docs.mendix.com/appstore/modules/genai/openai/ I downloaded the modules from the marketplace, then i set the role and added the snippet_configurations in the home page. After that i runned the app and went in browser to set the api, so i give a name, i select openAI, set the endpoint to https://api.openai.com/v1/chat/completions and set the key that i generated before. But when i try to save a popup shows up saying that there is an error. In console i see these errors: Error while encrypting string: Key should not be empty An error has occurred while handling the request. [User 'MxAdmin' with session id 'b606dca5-XXXX-XXXX-XXXX-XXXXXXXX8541' and roles 'Administrator'] An error occurred while executing an action of OpenAIConnector.Configuration_NewEdit.actionButton1: Internal server error Error: An error occurred while executing an action of OpenAIConnector.Configuration_NewEdit.actionButton1: Internal server error at http://localhost:8080/mxclientsystem/mxui/mxui.js?638624443800955183:66:184315 at ye (http://localhost:8080/mxclientsystem/mxui/mxui.js?638624443800955183:24:6830) at i (http://localhost:8080/mxclientsystem/mxui/mxui.js?638624443800955183:24:6731) at j (http://localhost:8080/mxclientsystem/mxui/mxui.js?638624443800955183:64:5089) I don't know what to do :(
asked
Marta Scarsi
1 answers
2
Hi Marta,
Please set below key, this key is used for encryption decryption of aws, email and other credentials