BadResponse
Opened this issue · 2 comments
Hi! The 'requestArticle' API has been working fine for me a while but suddenly stopped, and giving me a 'badResponse' error. What could be the reason for this? Is the API still functioning correctly, or could it be related to my access / number of calls something like that? TIA!
There was a breaking change in the API.
Please see https://phabricator.wikimedia.org/T328036
Unfortunately there doesn’t seem to be a suitable replacement that provides the same set of data for an article.
You could try using the REST API’s Page Endpoints or the new Core API Page Endpoints.
But it looks multiple calls would be needed. And the HTML has a different structure.
It’s frustrating. I’m not planning to fix this, but I’ll happily accept quality pull requests with a fix.
OK got it, no worries. Thanks for the response!