Can't create a meeting in server-to sserver api (Java)

Hi!
I thought I had studied the information enough, but I encountered a 401 error.
I want to create a link to a meeting in the application.
I make a request to receive a token

var response = restTemplate.postForEntity(
https://zoom.us/oauth/token”,request,Map.class);

I receive token (I checked) and make request to create a meeting

String accessToken = (String) >Objects.requireNonNull(response.getBody()).get(“access_token”);

HttpHeaders headers = new HttpHeaders();
headers.set(“Authorization”, "Bearer " + accessToken);

String requestBody = String.format(
“{"topic": "New Meeting", "start_time": "%s", "duration": %d}”,
startTime, duration);

HttpEntity request = new HttpEntity<>(requestBody, headers);

   var response = restTemplate.postForEntity(
            "https://api.zoom.us/v2/users/me/meetings", request,Map.class);

but in the end I get a 401 error