I get this error whenever I use forge-sql, but all the code did work 2 days ago, I just got the error when starting it up yesterday.
So for example when I do this, I get the error down below.
sql.prepare("SELECT * FROM LinkInfo").execute();
And I dont know what to do, that code worked for like 3 Months but now I get this error every time.
PROXY_ERR: Forge platform failed to process runtime HTTP request - 400 - INVALID_CAPABILITY
at handleProxyResponseErrors (webpack://gwi-forge/node_modules/@forge/sql/node_modules/@forge/api/out/api/fetch.js:70:1)
at <anonymous> (webpack://gwi-forge/node_modules/@forge/sql/node_modules/@forge/api/out/api/fetch.js:26:1)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async SqlClient.sendRequest (webpack://gwi-forge/node_modules/@forge/sql/out/sql.js:14:1)
at async SqlClient.storageApi (webpack://gwi-forge/node_modules/@forge/sql/out/sql.js:25:1)
at async SqlClient.storageApiWithOptions (webpack://gwi-forge/node_modules/@forge/sql/out/sql.js:40:1)
at async Function.executeSql (webpack://gwi-forge/src/services/storage.ts:229:1)
at async handlerSQL (webpack://gwi-forge/src/webtrigger.ts:50:1)
at async Object.handler (webpack://gwi-forge/src/webtrigger-external.ts:16:1)
at async /private/var/folders/lm/bbq448ys7lqc7twwf413kjp00000gn/T/forge-dist-75791-IWltfFTHWZMd/forge_wrapper.cjs:2:1276413 {
status: 400,
errorCode: 'INVALID_CAPABILITY'