Skip to content

API crashes when page title contains special characters like / and ? #6

@abhi12ravi

Description

@abhi12ravi

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:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions