breezy-tomato-78619
07/24/2023, 5:06 PMhttps://app.customgpt.ai/api/v1/projects/${projectID}/conversations/${sessionId}/messages
,
params: {stream: 'false', lang: 'da'},
headers: {
accept: 'application/json',
'content-type': 'application/json',
authorization: Bearer ${apikey}
},
data: {prompt: ${question}
},
//timeout: 10000 // sets timeout to 10 seconds
};
try {
const response = await axios.request(options);
workflow.openaiResponse = response.data.data["openai_response"];
} catch (error) {
throw new Error(customGPT-error: ${error}
)
}
And here is the error message:
Request:
prompt:"hvad koster det at klatre?"
Error: Network Error
Logs (4 items - 2 error)
Execute code "inline-ins-e77c8d316d.js"
[AxiosError: Network Error]
Error executing action "inline-ins-e77c8d316d.js" in flow:Main:node:qToCustomGPT [Error, customGPT-error: AxiosError: Network Error]
Entering workflow (flow:Error) [node:Entry] from (flow:Main) [node:qToCustomGPT]famous-jewelry-85388
07/24/2023, 5:07 PMbreezy-tomato-78619
07/24/2023, 6:25 PM