Skip to content

Cannot read properties of null (reading '0') #302

@mohamedsabith

Description

@mohamedsabith

const matches = res.toJSON().body.match(pattern)
value = matches[0].substring(13)
TypeError: Cannot read properties of null (reading '0')
node_modules\instagram-web-api\lib\index.js:57:22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions