You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib/me.ts
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,18 @@ export async function getLoggedInAccountId(tokenOverride?: string) {
36
36
Authorization: `Bearer ${token}`,
37
37
},
38
38
});
39
+
39
40
if(!response.ok){
40
41
if(response.status===401){
41
42
logSessionTokenExpiredAndQuit();
42
43
}
43
44
45
+
if(response.status===403){
46
+
logAndQuit(
47
+
"Your SF Compute account is still under review. You cannot use the CLI until your account is approved.\n\nIf you have any questions you can reach out to [email protected]",
0 commit comments