texei / texei-sfdx-plugin

Texeï's plugin for sfdx
https://texei.github.io/texei-sfdx-plugin/
BSD 3-Clause "New" or "Revised" License
123 stars 37 forks source link

Inconsistent import error 'requested resource does not exist' #104

Open mikbranchaud opened 2 years ago

mikbranchaud commented 2 years ago

I have 2 instances of vsc connected to the same sandbox (alias Personal). On my personal laptop, I can export data and import: sfdx texei:data:export --dataplan ./dataFromProd/data-plan.json --outputdir ./dataFromProd --targetusername Production --loglevel=debug sfdx texei:data:import --inputdir ./dataFromProd --targetusername Personal

From my work computer, the same export does not work. Status shows that it is exporting the first object and says done but no file is created and no error is shown (and it does not proceed to subsequent objects). Changing which object is first in the data plan does not change behavior.

setting the loglevel=debug is not providing any information to the terminal. Is it being written to a log?

When I copy the exported files from my personal laptop to my work computer and try the same import, I get an error: ERROR running texei:data:import: The requested resource does not exist

again the loglevel=debug does not appear to be giving me any information

FabienTaillon commented 2 years ago

Weird behavior, can you try adding --dev-debug at the end of the command ? You'll have a lot of logs but hopefully you'll see an error there. Is it the same type of computer between your personal and work one, or different one (like one Mac and one PC) ?