UnauthorizedError: call captureStackTrace