diff --git a/packages/client/src/api/api.js b/packages/client/src/api/api.js index 8b2328c6a2..e703806345 100644 --- a/packages/client/src/api/api.js +++ b/packages/client/src/api/api.js @@ -43,7 +43,8 @@ const makeApiCall = async ({ method, url, body, json = true }) => { case 400: return handleError(`${url}: Bad Request`) case 403: - notificationStore.danger("Forbidden") + // reload the page incase the token has expired + location.reload() return handleError(`${url}: Forbidden`) default: if (response.status >= 200 && response.status < 400) {