SDK auth limit (Attribute 'password encoded as UTF-16' is longer than platform limit of 2560 chars) #57
Unanswered
Tschillah
asked this question in
Help and Questions with SDK or Fluent
Replies: 1 comment
-
|
Thanks for reporting this! We've noted the issue and will look into it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to authenticate to multiple instances via OAuth. After having successfuly authenticated to three instances, authenticating to a forth instance (via OAuth or Basic) will not work:
npx @servicenow/sdk auth --add https://[name].service-now.com --type oauth --alias [name]
I get this error:
[now-sdk] ERROR: Attribute 'password encoded as UTF-16' is longer than platform limit of 2560 chars
As soon as I remove an existing auth profile, i can add another one again. So there seems to be some kind of limit here. Is there any way to remove this limit? I am managing many instance (own dev, multiple demo, vendor instances, customer dev instances). It would be nice to use the SDK on more than 3 instances at one. I am on Windows 11 in case that should matter. I am not sure where that limit of 2560 chars is coming from and why its reached after connecting to three instances.
Beta Was this translation helpful? Give feedback.
All reactions