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
returnretry.RetryableError(fmt.Errorf("error while fetching database: %s", string(res.Body)))
513
513
}
514
514
515
+
// Status code == 401 Unauthorized
516
+
ifres.StatusCode() ==http.StatusUnauthorized {
517
+
returnretry.NonRetryableError(fmt.Errorf("User not authorized. Effective role must have 'View DB' permission on the database (or on all DBs in the current org)"))
0 commit comments