Skip to content

Uncaught (in promise) TypeError: can't access property "get", o.headers is undefined #19

@mStirner

Description

@mStirner
Uncaught (in promise) TypeError: can't access property "get", o.headers is undefined
    download http://open-haus.lan/admin/admin-system.backup.846adcec.js:1
    promise callback*download http://open-haus.lan/admin/admin-system.backup.846adcec.js:1
    6 http://open-haus.lan/admin/admin-system.backup.846adcec.js:1
    Qs http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    Et http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    n http://open-haus.lan/admin/admin-index.18c8f3f7.js:17
    jt http://open-haus.lan/admin/admin-index.18c8f3f7.js:17
    zh http://open-haus.lan/admin/admin-index.18c8f3f7.js:17
    ep http://open-haus.lan/admin/admin-index.18c8f3f7.js:17
    U http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    k http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    E http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    j http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    R http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    E http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    j http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    U http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    k http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    E http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    j http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    R http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    E http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    j http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    U http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    k http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    E http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    j http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    U http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    k http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    E http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    O http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    run http://open-haus.lan/admin/admin-index.18c8f3f7.js:9
    Z http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    de http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    J http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
    E http://open-haus.lan/admin/admin-index.18c8f3f7.js:13
admin-system.backup.846adcec.js:1:1664

if (encrypt) {
this.exportData.keys.key = res.headers.get("x-encryption-key");
this.exportData.keys.iv = res.headers.get("x-encryption-iv");
this.exportData.showModal = true;
}

Because the request helper does not return the response object, rather then the http body received from the backend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions