Catching PermissionError in api