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 (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...