Request failed with status code 401

Hello,

We are attempting to log in to the self-hosted ActivePieces platform within our infrastructure, but encountered this error when accessing the URL today:

can you please help us?

Francesco
IT Support
Orcastudios

Here the logs:

index-Dn6pYMb3.js:83

   GET https://activepieces-dev.orcainfrastructure.es/api/v1/platforms/mc7AzqVMCVdzoBFqpdP5o 401 (Unauthorized)

(anonymous) @ index-Dn6pYMb3.js:83
xhr @ index-Dn6pYMb3.js:83
dispatchRequest @ index-Dn6pYMb3.js:85
_request @ index-Dn6pYMb3.js:86
request @ index-Dn6pYMb3.js:85
(anonymous) @ index-Dn6pYMb3.js:81
request @ index-Dn6pYMb3.js:89
get @ index-Dn6pYMb3.js:89
getCurrentPlatform @ index-Dn6pYMb3.js:629
Yr @ index-Dn6pYMb3.js:44
co @ index-Dn6pYMb3.js:44
start @ index-Dn6pYMb3.js:44
fetch @ index-Dn6pYMb3.js:44
fetchOptimistic @ index-Dn6pYMb3.js:44
fetchOptimistic @ index-Dn6pYMb3.js:44
useBaseQuery @ index-Dn6pYMb3.js:44
useSuspenseQuery @ index-Dn6pYMb3.js:44
useCurrentPlatform @ index-Dn6pYMb3.js:629
DashboardContainer @ index-Dn6pYMb3.js:832
Nh @ index-Dn6pYMb3.js:39
Vk @ index-Dn6pYMb3.js:41
Uk @ index-Dn6pYMb3.js:41
Lk @ index-Dn6pYMb3.js:41
Gk @ index-Dn6pYMb3.js:41
ho @ index-Dn6pYMb3.js:26
Co @ index-Dn6pYMb3.js:26
index-Dn6pYMb3.js:83

   GET https://activepieces-dev.orcainfrastructure.es/api/v1/platforms/mc7AzqVMCVdzoBFqpdP5o 401 (Unauthorized)

(anonymous) @ index-Dn6pYMb3.js:83
xhr @ index-Dn6pYMb3.js:83
dispatchRequest @ index-Dn6pYMb3.js:85
_request @ index-Dn6pYMb3.js:86
request @ index-Dn6pYMb3.js:85
(anonymous) @ index-Dn6pYMb3.js:81
request @ index-Dn6pYMb3.js:89
get @ index-Dn6pYMb3.js:89
getCurrentPlatform @ index-Dn6pYMb3.js:629
Yr @ index-Dn6pYMb3.js:44
co @ index-Dn6pYMb3.js:44
(anonymous) @ index-Dn6pYMb3.js:44
Promise.then
(anonymous) @ index-Dn6pYMb3.js:44
Promise.catch
co @ index-Dn6pYMb3.js:44
start @ index-Dn6pYMb3.js:44
fetch @ index-Dn6pYMb3.js:44
fetchOptimistic @ index-Dn6pYMb3.js:44
fetchOptimistic @ index-Dn6pYMb3.js:44
useBaseQuery @ index-Dn6pYMb3.js:44
useSuspenseQuery @ index-Dn6pYMb3.js:44
useCurrentPlatform @ index-Dn6pYMb3.js:629
DashboardContainer @ index-Dn6pYMb3.js:832
Nh @ index-Dn6pYMb3.js:39
Vk @ index-Dn6pYMb3.js:41
Uk @ index-Dn6pYMb3.js:41
Lk @ index-Dn6pYMb3.js:41
Gk @ index-Dn6pYMb3.js:41
ho @ index-Dn6pYMb3.js:26
Co @ index-Dn6pYMb3.js:26
index-Dn6pYMb3.js:83

   GET https://activepieces-dev.orcainfrastructure.es/api/v1/platforms/mc7AzqVMCVdzoBFqpdP5o 401 (Unauthorized)

(anonymous) @ index-Dn6pYMb3.js:83
xhr @ index-Dn6pYMb3.js:83
dispatchRequest @ index-Dn6pYMb3.js:85
_request @ index-Dn6pYMb3.js:86
request @ index-Dn6pYMb3.js:85
(anonymous) @ index-Dn6pYMb3.js:81
request @ index-Dn6pYMb3.js:89
get @ index-Dn6pYMb3.js:89
getCurrentPlatform @ index-Dn6pYMb3.js:629
Yr @ index-Dn6pYMb3.js:44
co @ index-Dn6pYMb3.js:44
(anonymous) @ index-Dn6pYMb3.js:44
Promise.then
(anonymous) @ index-Dn6pYMb3.js:44
Promise.catch
co @ index-Dn6pYMb3.js:44
(anonymous) @ index-Dn6pYMb3.js:44
Promise.then
(anonymous) @ index-Dn6pYMb3.js:44
Promise.catch
co @ index-Dn6pYMb3.js:44
start @ index-Dn6pYMb3.js:44
fetch @ index-Dn6pYMb3.js:44
fetchOptimistic @ index-Dn6pYMb3.js:44
fetchOptimistic @ index-Dn6pYMb3.js:44
useBaseQuery @ index-Dn6pYMb3.js:44
useSuspenseQuery @ index-Dn6pYMb3.js:44
useCurrentPlatform @ index-Dn6pYMb3.js:629
DashboardContainer @ index-Dn6pYMb3.js:832
Nh @ index-Dn6pYMb3.js:39
Vk @ index-Dn6pYMb3.js:41
Uk @ index-Dn6pYMb3.js:41
Lk @ index-Dn6pYMb3.js:41
Gk @ index-Dn6pYMb3.js:41
ho @ index-Dn6pYMb3.js:26
Co @ index-Dn6pYMb3.js:26
index-Dn6pYMb3.js:83

   GET https://activepieces-dev.orcainfrastructure.es/api/v1/platforms/mc7AzqVMCVdzoBFqpdP5o 401 (Unauthorized)

(anonymous) @ index-Dn6pYMb3.js:83
xhr @ index-Dn6pYMb3.js:83
dispatchRequest @ index-Dn6pYMb3.js:85
_request @ index-Dn6pYMb3.js:86
request @ index-Dn6pYMb3.js:85
(anonymous) @ index-Dn6pYMb3.js:81
request @ index-Dn6pYMb3.js:89
get @ index-Dn6pYMb3.js:89
getCurrentPlatform @ index-Dn6pYMb3.js:629
Yr @ index-Dn6pYMb3.js:44
co @ index-Dn6pYMb3.js:44
(anonymous) @ index-Dn6pYMb3.js:44
Promise.then
(anonymous) @ index-Dn6pYMb3.js:44
Promise.catch
co @ index-Dn6pYMb3.js:44
(anonymous) @ index-Dn6pYMb3.js:44
Promise.then
(anonymous) @ index-Dn6pYMb3.js:44
Promise.catch
co @ index-Dn6pYMb3.js:44
(anonymous) @ index-Dn6pYMb3.js:44
Promise.then
(anonymous) @ index-Dn6pYMb3.js:44
Promise.catch
co @ index-Dn6pYMb3.js:44
start @ index-Dn6pYMb3.js:44
fetch @ index-Dn6pYMb3.js:44
fetchOptimistic @ index-Dn6pYMb3.js:44
fetchOptimistic @ index-Dn6pYMb3.js:44
useBaseQuery @ index-Dn6pYMb3.js:44
useSuspenseQuery @ index-Dn6pYMb3.js:44
useCurrentPlatform @ index-Dn6pYMb3.js:629
DashboardContainer @ index-Dn6pYMb3.js:832
Nh @ index-Dn6pYMb3.js:39
Vk @ index-Dn6pYMb3.js:41
Uk @ index-Dn6pYMb3.js:41
Lk @ index-Dn6pYMb3.js:41
Gk @ index-Dn6pYMb3.js:41
ho @ index-Dn6pYMb3.js:26
Co @ index-Dn6pYMb3.js:26
index-Dn6pYMb3.js:41 AxiosError$1 {message: ‘Request failed with status code 401’, name: ‘AxiosError’, code: ‘ERR_BAD_REQUEST’, config: {…}, request: XMLHttpRequest, …}
Li$1 @ index-Dn6pYMb3.js:41
Qi$1.Yr.componentDidCatch.Xr.callback @ index-Dn6pYMb3.js:41
sh @ index-Dn6pYMb3.js:39
kk @ index-Dn6pYMb3.js:41
ik @ index-Dn6pYMb3.js:41
ik @ index-Dn6pYMb3.js:41
hk @ index-Dn6pYMb3.js:41
Wk @ index-Dn6pYMb3.js:41
Pk @ index-Dn6pYMb3.js:41
Gk @ index-Dn6pYMb3.js:41
ho @ index-Dn6pYMb3.js:26
Co @ index-Dn6pYMb3.js:26
index-Dn6pYMb3.js:62 React Router caught the following error during render AxiosError$1 {message: ‘Request failed with status code 401’, name: ‘AxiosError’, code: ‘ERR_BAD_REQUEST’, config: {…}, request: XMLHttpRequest, …} {componentStack: ‘\n at DashboardContainer (https://activepieces-d…es/assets/index-Dn6pYMb3.js:44:114251)\n at App’}
componentDidCatch @ index-Dn6pYMb3.js:62
Qi$1.Yr.componentDidCatch.Xr.callback @ index-Dn6pYMb3.js:41
sh @ index-Dn6pYMb3.js:39
kk @ index-Dn6pYMb3.js:41
ik @ index-Dn6pYMb3.js:41
ik @ index-Dn6pYMb3.js:41
hk @ index-Dn6pYMb3.js:41
Wk @ index-Dn6pYMb3.js:41
Pk @ index-Dn6pYMb3.js:41
Gk @ index-Dn6pYMb3.js:41
ho @ index-Dn6pYMb3.js:26
Co @ index-Dn6pYMb3.js:26
index-Dn6pYMb3.js:89 Telemetry enabled
browser-integration.js:2 port disconnected from addon code: a02b8c06-b810-4c73-8bfd-eac698a8d983
(anonymous) @ browser-integration.js:2
Show 1 more frame
Show less

Hi @Francesco_Veroli

Looks like the JWT_SECRET was changed, delete the local storage on the browser or try with private mode.

1 Like