如何解决Zoom Meeting API-msxml6.dll错误'80070005'访问被拒绝
我正在尝试通过API使用以下经典ASP代码更新Zoom会议中的数据:
'Get access token
access_token = getJWTToken()
strState = "nsw"
varStart = dateFormat(strStart,"yyyy-mm-dd") & "T" & dateFormat(strStart,"HH:MM:SS")
varDuration = dateDiff("n",strStart,strEnd)
varTimeZone = getTimeZone(strState)
postURL = zoom_url & "//webinars//" & webinarId
parmToSend = "{""topic"":""" & strTitle & """," & _
"""type"":""5""," & _
"""start_time"":""" & varStart & """," & _
"""duration"":""" & varDuration & """," & _
"""timezone"":""" & varTimeZone & """," & _
"""agenda"":""" & strDescription & """," & _
"""settings"":{" & _
" ""host_video"":""false""," & _
" ""panelists_video"":""false""," & _
" ""practice_session"":""true""," & _
" ""hd_video"":""false""," & _
" ""approval_type"":""0""," & _
" ""close_registration"":""false""," & _
" ""show_share_button"":""false""," & _
" ""allow_multiple_devices"":""true""," & _
" ""registrants_confirmation_email"":""true""," & _
" ""registrants_restrict_number"":""" & strSeats & """," & _
" ""notify_registrants"":""false""" & _
" }" & _
"}"
Set ServerXmlHttp = Server.CreateObject("MSXML2.XMLHTTP.6.0")
ServerXmlHttp.open "PATCH",postURL
ServerXmlHttp.setRequestHeader "Accept","application/json"
ServerXmlHttp.setRequestHeader "Content-Type","application/json"
ServerXmlHttp.setRequestHeader "Authorization","Bearer " & access_token
ServerXmlHttp.send parmToSend
jsonResponse = ServerXmlHttp.responseText
它间歇性地工作,但是atm却不断出现相同的错误:
msxml6.dll错误'80070005'
访问被拒绝。
它在以下行中失败:
ServerXmlHttp.send parmToSend
有人可以帮助我解决为什么发生这种情况吗?
谢谢
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。