I was recently using the pageviewapi for my project and found that whenever the Wikipedia page title had special characters like / or ?, it throws an error saying ZeroOrDataNotLoadedException. Is that by design or is something amiss?
Please do let me know if I have missing something.
In the below example, I’m trying to pass ‘9/11 conspiracy theories’ as the page title. However, the per_article method throws a ZeroOrDataNotLoadedException.
Kindly let me know if you need any further information to resolve this issue.
Hi, I encountered the same issue. However, there is an easy workaround. Just encode your slashes using url-encoding (e.g., write AC%2FDC instead of AC/DC). Hope this helps.
Hi Team,
I was recently using the pageviewapi for my project and found that whenever the Wikipedia page title had special characters like / or ?, it throws an error saying ZeroOrDataNotLoadedException. Is that by design or is something amiss?
Please do let me know if I have missing something.
In the below example, I’m trying to pass ‘9/11 conspiracy theories’ as the page title. However, the per_article method throws a ZeroOrDataNotLoadedException.
Kindly let me know if you need any further information to resolve this issue.
Regards, Abhiram
Screenshot: