on 2024 Mar 28 6:49 PM
I was trying out this tutorial https://developers.sap.com/tutorials/build-code-test-drive.html#61b6d7a8-81b6-42b5-9342-dd7cb06c312d for Build Code with a Trial Account but when I entered the prompt into Joule I got Error: Request failed with status code 403. How can I solve this?
Request clarification before answering.
The 403 error no longer appears when clearing all browser data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Getting the same error.
"Request failed with status code 403"
Below is the Joule output.
{
"label": "Joule.Joule_Genie",
"level": "error",
"message": {
"message": "Request failed with status code 403",
"name": "AxiosError",
"stack": "AxiosError: Request failed with status code 403\n\tat settle (/managed-content/vscode/unzipped/38__@ext-lcapvsc-npm-vscode__joule@1.26.0-3/extension/out/extension.js:12081:16)\n\tat IncomingMessage.handleStreamEnd (/managed-content/vscode/unzipped/38__@ext-lcapvsc-npm-vscode__joule@1.26.0-3/extension/out/extension.js:12886:15)\n\tat IncomingMessage.emit (node:events:526:35)\n\tat endReadableNT (node:internal/streams/readable:1359:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:82:21)",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": [
"xhr",
"http"
],
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json",
"AI-Resource-Group": "default",
"User-Agent": "axios/1.6.0",
"Accept-Encoding": "gzip, compress, deflate, br"
},
"method": "get",
"url": "https://<replaced my trial account>.us10cf.trial.applicationstudio.cloud.sap/llm/v2/lm/deployments"
},
"code": "ERR_BAD_REQUEST",
"status": 403
},
"time": "2024-03-30T00:03:32.474Z"
}
{
"label": "Joule.Joule_Genie",
"level": "error",
"message": {},
"time": "2024-03-30T00:03:32.476Z"
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@MichaelRAs I see your prompt message is too long and unable to read in generic statement. could you repharse and try it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
63 | |
8 | |
7 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.