I tried calling gooddata API with necessary headers using node js but it is showing error 401. If possible it will be really helpful to get a sample code
Best answer by Jan Rehanek
View originalI tried calling gooddata API with necessary headers using node js but it is showing error 401. If possible it will be really helpful to get a sample code
Best answer by Jan Rehanek
View originalFurther info on the SST and its expiration:Â https://help.gooddata.com/doc/enterprise/en/expand-your-gooddata-platform/gooddata-platform-overview/gooddata-token-types/sst-session-expiration
Hey Sasal,
There’s two tokens to keep track of here.
This concept is further described here:Â https://help.gooddata.com/doc/enterprise/en/expand-your-gooddata-platform/api-reference#tag/token
In short, /gdc/account/login returns an SST that you can’t use, for example, to list users, which is why you’re getting this error.
What you should do:
Does that make sense?
Thanks for the screenshot. May I know what is the exact error you are getting? Do you have an error ID?Â
Thanks,Â
Â
-Moises
This the function which I am calling on index js and I want to get all the users from the given workspace ID
Sign in with your community account. This is different than your login to your GoodData account. Don't have a community login? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.