Skip to content

TypeError: Cannot construct a Request with a Request object that has already been used in fetchJSON #78

Description

@volodymyrkarandukov

Description
Runtime error occurs due to reusing a consumed Request object.

Error:

TypeError: Cannot construct a Request with a Request object that has already been used.
    at node:internal/deps/undici/undici:13510:13
    at fetchJSON (.../node_modules/@vippsmobilepay/sdk/script/fetch.js:49:22)
    at attemptFetch (.../node_modules/@vippsmobilepay/sdk/script/fetch.js:24:24)

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