@ExceptionHandler(value = {TooManyRequestsException.class})
    protected ResponseEntity<Object> handleTooManyRequests(
            TooManyRequestsException ex, WebRequest request) {
        Map<String, Object> errorAttributes = getErrorAttributes(request);
        errorAttributes.put("error", "1001");