Gaia_listfiles unexpected behaviour

#1

As per example of gaia_listfiles within blockstack-cli below:
blockstack-cli gaia_listfiles
Command: gaia_listfiles
Usage:
gaia_listfiles GAIA_HUB APP_PRIVATE_KEY
gaia_listfiles --gaia_hub URL
–app_private_key PRIVATE_KEY

List all the files in a Gaia hub bucket. You must have the private key for
the bucket in order to list its contents. The command prints each file name
on its own line, and when finished, it prints the number of files listed.

Example:

$ # Tip: You can obtain the app key with the get_app_keys command.
$ export APP_KEY="3ac770e8c3d88b1003bf4a0a148ceb920a6172bdade8e0325a1ed1480ab4fb19"
$ blockstack-cli gaia_listfiles "https://hub.blockstack.org" "$APP_KEY"
hello_world
dir/format
/.dotfile
3

I expected when using the command to list the names of uploaded files to the App, however using the command give me unexpected output as below:
blockstack-cli gaia_listfiles “https://hub.blockstack.org” “e493625555555555555555555vvvvvvvvvvvvvvvvvv61552b5bbf58640”
[ERROR] Error checking for protocol echo reply handlePendingSignIn: TypeError: window.URLSearchParams is not a constructor
BlockstackUser/xyz.blockstack.id
FileModel/29d29e9ab0ce-4bd8-92a6-90bf2826dc78
FileModel/d30891dc2e6b-4729-aa44-c3d9e3b502fb
FileModel/f5f8620e2b90-4a84-a73a-9f0c7d927d64
SigningKey/629dd4e7526f-4e51-55e9-557daba03bfd
5
Anyone faced the same issue here?

#2

These are the files.

1 Like