1

Resolved

Error 403 Forbidden from Mediawiki API

description

The error is caused because the Wikipedia API is thinking that you are coming in as a "bot". The fix is to add is a line of code an add a "UserAgent" header to the webrequest. You can either see the fix on codeplex and make the change yourself or I will update the release version with the fix.
 
Added the following line of code to the HttpRequest.cs class:
 
webRequest.UserAgent = "Mozilla/5.0";

comments