Vatsal Trivedi
10/25/2021, 1:56 PMJiri Zajic
10/25/2021, 2:20 PMVatsal Trivedi
10/25/2021, 2:23 PMVatsal Trivedi
10/25/2021, 2:24 PMJiri Zajic
10/25/2021, 2:24 PMrefresh-md
command you are running will try to connect to a domain and a workspace that is set in src/constants.js
file.Vatsal Trivedi
10/25/2021, 2:25 PMJiri Zajic
10/25/2021, 2:26 PMVatsal Trivedi
10/25/2021, 2:26 PMJiri Zajic
10/25/2021, 2:27 PMrefresh-md
command, you must have a domain and a workspace set correctly in your src/constnts.js
file. Could you please tell me what is your domain and workspace set to?Vatsal Trivedi
10/25/2021, 2:28 PMJiri Zajic
10/25/2021, 2:30 PMJiri Zajic
10/25/2021, 2:31 PMJiri Zajic
10/25/2021, 2:31 PMVatsal Trivedi
10/25/2021, 2:32 PMDan Homola
10/25/2021, 2:53 PM"refresh-md"
script is defined wrongly (it seems that it is using the GoodData Platform version, not the GoodData.CN one).
The script in the package.json should read
"refresh-md": "node ./scripts/refresh-md.js --backend tiger"
Can you please check?Vatsal Trivedi
10/26/2021, 1:28 AM.env.development.local
that too didn't work.
---------------------------------------
| GoodData Catalog Export Tool v8.6.0 |
---------------------------------------
✘ ERROR You do not have the TIGER_API_TOKEN environment variable set.
INFO To obtain a token value, follow these steps:
INFO 1. You should now see your default browser open at either your Tiger installation's home page or login page (if so, please log in).
INFO 2. Once you are on your Tiger installation's home page, please follow the guide at https://www.gooddata.com/developers/cloud-native/doc/1.2/administration/auth/user-token/#generate-the-api-token to create a new token (using the Developer Tools way).
INFO 3. Once you have the token value, please set the TIGER_API_TOKEN environment variable and try again.
✘ ERROR API token not set or no longer valid.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.Dan Homola
10/26/2021, 6:51 AM.env
files.
You can try
export TIGER_API_TOKEN='your-api-token'
npm run refresh-md
which should work. I will create a ticket for adding support for the .env
files for the catalog export tool, because it is something that would be useful. Sorry for the inconvenience.Vatsal Trivedi
10/26/2021, 8:49 AMDan Homola
10/26/2021, 8:56 AMVatsal Trivedi
10/26/2021, 9:32 AMVatsal Trivedi
10/26/2021, 9:32 AMDan Homola
10/26/2021, 10:10 AMVatsal Trivedi
11/02/2021, 12:54 PMDan Homola
11/02/2021, 1:24 PMVatsal Trivedi
11/02/2021, 1:41 PM<RedirectIfNotLoggedIn/>
so it should ideally stay on the login page but it redirects to Gooddata.CN instance.
Both are hosted on different domainsDan Homola
11/02/2021, 1:44 PM<RedirectIfNotLoggedIn/>
and it does not redirect you to the /login
?Vatsal Trivedi
11/02/2021, 1:45 PMGuruprasad
11/03/2021, 10:06 AMDan Homola
11/03/2021, 10:44 AM