后台token报SignatureVerificationException异常

前端请求接口时,token报SignatureVerificationException异常,也不是token过期或者token获取错误,现在主要是不知道什么情况会导致该异常,报该异常后,接口可以访问,但是获取不到数据

try {
            //验证令牌
           JWTUtils.verify(token);
          return true;
        }catch (SignatureVerificationException e){
            e.printStackTrace();
            log.info("50001");
            map.put("message","无效签名");
            map.put("code",50001);
        }catch (TokenExpiredException e){
            map.put("message","token过期");
            map.put("code",50002);
        }catch (AlgorithmMismatchException e){
            log.info("50003");
            map.put("message","两次token不一至");
            map.put("code",50003);
        }catch (Exception e) {
            log.info("50004");
            map.put("message","无效签名");
            map.put("code",50004);
        }

SignatureVerificationException这不是提示了是签名错误了吗,直接看下穿过来的参数签名字段是否加密对了没,看看js的生成签名算法