Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.

Import fails with "TypeError: Cannot read property 'importState' of undefined" #68

Open
snadahalli opened this issue Sep 12, 2017 · 0 comments

Comments

@snadahalli
Copy link

Hi,

I'm trying to import a report and getting the following error.
TypeError: Cannot read property 'importState' of undefined

Command and full error.

powerbi import -c lxxxxe -k 6a....u -w f.....4 -f e:\report.pbix -n reportname
[ powerbi ] Importing e:\report.pbix to workspace: f......4
[ powerbi ] File uploaded successfully
[ powerbi ] Import ID: c......3-c

C:\Users\user1\AppData\Roaming\npm\node_modules\powerbi-cli\lib\cli-import.js:69
cli_1.Cli.print('Checking import state: %s', importResult.importSta
^
TypeError: Cannot read property 'importState' of undefined
at C:\Users\user1\AppData\Roaming\npm\node_modules\powerbi-cli\lib\cli-import.js:69:70
at C:\Users\user1\AppData\Roaming\npm\node_modules\powerbi-cli\node_modules\powerbi-api\lib\autorest\operations\imports.js:416:14
at retryCallback (C:\Users\user1\AppData\Roaming\npm\node_modules\powerbi-cli\node_modules\ms-rest\lib\filters\systemErrorRetryPolicyFilter.js:85:9)
at retryCallback (C:\Users\user1\AppData\Roaming\npm\node_modules\powerbi-cli\node_modules\ms-rest\lib\filters\exponentialRetryPolicyFilter.js:135:9)
at handleRedirect (C:\Users\user1\AppData\Roaming\npm\node_modules\powerbi-cli\node_modules\ms-rest\lib\filters\redirectFilter.js:36:9)
at Request._callback (C:\Users\user1\AppData\Roaming\npm\node_modules\powerbi-cli\node_modules\ms-rest\lib\requestPipeline.js:126:16)
at Request.self.callback (C:\Users\user1\AppData\Roaming\npm\node_modules\powerbi-cli\node_modules\ms-rest\node_modules\request\request.js:187:22)
at Request.emit (events.js:110:17)
at Request. (C:\Users\user1\AppData\Roaming\npm\node_modules\powerbi-cli\node_modules\ms-rest\node_modules\request\request.js:1044:10)
at Request.emit (events.js:129:20)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant