Authentication parameters missing error
Categories
- 326 All Categories
- 3 Language datasets
- 9 News and updates
- 18 API endpoints
- 15 Review my code
- 6 Tutorials and presentations
- 92 Frequently asked questions
- 5 How to get useful technical help
- 2 Member guidelines
- 12 Suggest an improvement
- 58 Report a bug
- 10 Ask the Community: Other
- 56 Ask the Community: Technical and operational questions
- 62 General
Authentication parameters missing error

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
Answers
I don't know I want to do some VBS too but it kinda hard
Hello @mooping9383 and @knikolov356
I am sorry for not responding this earlier.
I could see that in the code you shared you are using "en" as the source language. Maybe you could set the English variation, like "en-us" or "en-gb". In the Entries endpoint, you need to specify the language variation of the source language; when using only "en" the API automatically redirect "en-gb". Maybe, that is the reason you are getting this response.
Please, let me know if it helped.
Oh I kind of understand now you're missing your app id
@dewnnn1150 What do you mean?