Jump to content
  • 0

When I try to create or update the conference room via APIs, it generates a 403 Forbidden error.

Ayarn Sawarn


String uri = "https://myantMediaServer/LiveApp/rest/v2/broadcasts/conference-rooms/room1";

RestTemplate restTemplate = new RestTemplate();

Map<String, Object> body = new HashMap<>();

body.put("roomId", "room1");

body.put("startDate", 1649721600000L);

body.put("endDate", 1649725200000L);

body.put("roomStreamList", Arrays.asList("InomfbiuVGmWviqO", "zXAHbulMownySzss"));//here we passing the list of streamIds 

body.put("mode", "mcu");

body.put("originAdress" , "");




"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36");


HttpEntity<Object> entity = new HttpEntity<>(headers);

headers.add(StringConstants.COOKIE, myJessionSessionId);


ResponseEntity<Map> response = restTemplate.exchange(uri, HttpMethod.POST , entity, Map.class);


403 Forbidden: [<!doctype html><html lang="en"><head><title>HTTP Status 403 – Forbidden</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} ... (654 bytes)]

The get APIs of the conference room are working fine, but when we want to consume the post APIs or put APIs, it generates a forbidden error.

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet


  • Create New...