Authentication parameters missing error

knikolov356knikolov356 Member
edited July 11 in General

Hello,

I am getting an "Authentication parameters missing" error when trying to connect using VBA. When connecting with .NET all is good. Connection used to work just fine with V1 of the API. Can you please help me get past this error?

Code looks similar to this with the exception of the login info:

Set jsonProvider = CreateObject("MSXML2.ServerXMLHTTP")

apiUrl = "https://od-api.oxforddictionaries.com:443/api/v2/entries/en/arrow"

jsonProvider.Open "GET", apiUrl, False
jsonProvider.setRequestHeader "Accept", "application/json"
jsonProvider.setRequestHeader "app_id", "1122334455"
jsonProvider.setRequestHeader "app_key", "fd7f987f9sdf7sd9f98g7s98df79sd8d"

jsonProvider.send '("")
resultText = jsonProvider.responseText

resultText is "Authentication parameters missing"

Sincerely,

Kiril

Sign In or Register to comment.