Skip to content

Uncaught ReferenceError: getCookie is not defined at reader.onloadend (audio_grabber.html:177:35) reader.onloadend #9

@Forchapeatl

Description

@Forchapeatl

Problem

Image

The error ReferenceError: getCookie is not defined occurs because the code attempts to call a function named getCookie to retrieve a CSRF token, but that function is not the <script> section of the HTML file.

Solution

Since the csrftoken is not being used in the fetch call anyway, we can simply delete the line causing the error

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