Checks if the error is an ApiError and whether it is an EP Permissions error. Checks for 401 and 403.
Checks if the error is an ApiError and whether it is an EP Permissions error. Checks for 401 and 403.
Returns