When creating a broadcast using Youtube api, the youtube api return error.But in youtube studio was able to check embbed video

The problem is when set attribute setEnableEmbed to true
LiveBroadcastContentDetails contentDetails = liveBroadcast.getContentDetails();contentDetails.setEnableDvr(updateLiveDTO.isCreateVideoOnDemand());contentDetails.setEnableEmbed(Boolean.TRUE);POST https://www.googleapis.com/youtube/v3/liveBroadcasts?part=snippet,contentDetails,status{"code" : 400,"errors" : [ {"domain" : "youtube.liveBroadcast","message" : "Embed setting was invalid","reason" : "invalidEmbedSetting","extendedHelp" : "https://developers.google.com/youtube/v3/live/docs/liveBroadcasts#contentDetails.enableEmbed" } ],"message" : "Embed setting was invalid"}