Unable to export content through CLI using bash scripts

I have…

  • [x] Checked the logs and have provided the logs if I found something suspicious there

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [x] Documentation issue or request

Current behavior

Unable to export content JSONs via bash script. Getting ‘ERROR: The handle is invalid.’

Expected behavior

Content JSON should be exported to a JSON

Minimal reproduction of the problem

Try to run ./sq.exe content export --format=JSON inside of a testBashScript.sh located in the same directory as the CLI exe

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [x] Cloud version

Version: [VERSION]

Browser:

  • [X] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

Sounds like you are using the windows binaries in Linux. :wink:

That was definitely the issue! Thank you for the help :slight_smile:

1 Like