Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
josh1203 opened this issue Dec 5, 2023 · 1 comment

Comments

@josh1203
Copy link

josh1203 commented Dec 5, 2023

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
@schaechinger
Copy link
Owner

Hi @josh1203, I could not reproduce the error.
Would you please provide the error stack?

If the client ID matches your username you can just go with username and password for the client credentials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants