Skip to content

TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["flatten"] when trying to initialize 1C4A or ProdWS #16

@josh1203

Description

@josh1203

The issue

Whenever an attempt is made to call initProductService or initOneClickForAppService the request fails throwing the following type error:
TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["flatten"]

What I've tried

I tried using our credentials as well as some dummy credentials which should not contain invalid characters like:

await internetmarke.initProductService({
                client: {
                    username: 'none',
                    password: 'password',
                    id: 'NONE',
                },
            });

All attempts resulted in the same issue described above.

Environment

  • Docker-Container running node:16-alpine
  • TypeScript 4.9.5

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