We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.10.0
v12.22.12
/Users//.volta/bin/sfcc-ci
ProductName: macOS ProductVersion: 13.1 BuildVersion: 22C65
hi
I'm getting the below error while using this line of code
sfcc.instance.upload(creds.hostname, zipFileName, token, {}, (err) => { if (err) return logger.error(`Upload error: ${err}`); sfcc.instance.import(creds.hostname, zipFileName, token, (err, res) => { if (err) return logger.error(`Import error: ${err}`); }); });
Error Upload error: Error: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["authorization"]
**Error** Upload error: Error: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["authorization"]
The text was updated successfully, but these errors were encountered:
Hi @sridharpannewave, there is most likely an invalid character in the token you are passing. Can you please check this incl. any \n at the end?
Sorry, something went wrong.
No branches or pull requests
sfcc-ci Version
2.10.0
NodeJS Version
v12.22.12
sfcc-ci Path
/Users//.volta/bin/sfcc-ci
Host OS Details
ProductName: macOS
ProductVersion: 13.1
BuildVersion: 22C65
What happened?
hi
I'm getting the below error while using this line of code
Error Upload error: Error: TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["authorization"]
Relevant log output
The text was updated successfully, but these errors were encountered: