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

My ID is my email, I don't have S-User #26

Open
nieloga opened this issue May 9, 2021 · 1 comment
Open

My ID is my email, I don't have S-User #26

nieloga opened this issue May 9, 2021 · 1 comment

Comments

@nieloga
Copy link

nieloga commented May 9, 2021

Hello Azn5ReD
I am trying to connect using my email address because the account was created with this email in success factor application.
Is necessary to use the script with S-User?
Because I'm facing:

Error while reading config file: SyntaxError: Unexpected token U in JSON at position 228
at JSON.parse ()
at Module. (C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:18:846279)
at t (C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:1:110)
at C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:1:902
at Object. (C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:1:913)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
Starting script...
Going to: https://performancemanager.successfactors.eu/sf/learning?company=learninghub
Entering login: da***********@gmail.com
Entering password: ***
Submiting...
Redirected to: https://account.sap.com/core/login-as/autologin/da***********@gmail.com?apiKey=3_8nyT5U5bgmcYd76h25LbEmWhqOWeM39-36YxT90-TFTHoCC5AWQbqzABxbwJMaxU&reqId=https%253A%252F%252Fwww.successfactors.eu%252Flearninghub&samlContext=184876214373_f2d7468b-29a4-4cc0-86a4-99cdcd31edce
Can't connect :(
Error: Error during init
at C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:18:853146
at s (C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:1:1024111)
at Generator._invoke (C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:1:1023864)
at Generator.forEach.e. [as next] (C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:1:1024468)
at t (C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:1:13893)
at c (C:\Users\Personal\Downloads\Sap1\saplearninghub-pdf-downloader-1.1.0\dist\index.js:1:14104)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@AZn5ReD
Copy link
Owner

AZn5ReD commented May 12, 2021

Hi,

Using an email shouldn't be a problem. Can you log in using your credentials to https://performancemanager.successfactors.eu/sf/learning?company=learninghub ?

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