Cloudstorage Pikpak not working

What is the problem you are having with rclone?

When i try to add Pikpak as cloudstorage it will be fail always with this error:

2023/08/18 17:14:43 Fatal error: failed to retrieve token using username/password: oauth2: "not_found" "query user not found"

I try it with different versions of rclone. On ubuntu on windows, i change my username, my password nothing work.

Run the command 'rclone version' and share the full output of the command.

rclone v1.64.0-beta.7249.156c372cd

  • os/version: alpine 3.18.0 (64 bit)
  • os/kernel: 5.15.0-79-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.0
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using?

PikPak

The command you were trying to run (eg rclone copy /tmp remote:tmp)

/ # rclone config
Current remotes:

Name                 Type
====                 ====
backup               crypt
crypt                crypt
pikpak               pikpak
test                 drive

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> e

Select remote.
Choose a number from below, or type in an existing value.
 1 > backup
 2 > crypt
 3 > pikpak
 4 > test
remote> 3

Editing existing "pikpak" remote with options:
- type: pikpak
- user: andrespetzius@hotmail.de
- pass: *** ENCRYPTED ***

Option user.
Pikpak username.
Enter a string value. Press Enter for the default (xxxxxx@hotmail.xxx).
user> xxxxxxx00

Option pass.
Pikpak password.
Choose an alternative below. Press Enter for the default (n).
y) Yes, type in my own password
g) Generate random password
n) No, keep existing (default)
y/g/n> y
Enter the password:
password:
Confirm the password:
password:

Edit advanced config?
y) Yes
n) No (default)
y/n> n

Error: failed to retrieve token using username/password: oauth2: "not_found" "query user not found"
Usage:
  rclone config [flags]
  rclone config [command]

Available Commands:
  create      Create a new remote with name, type and options.
  delete      Delete an existing remote.
  disconnect  Disconnects user from remote
  dump        Dump the config file as JSON.
  edit        Enter an interactive configuration session.
  file        Show path of configuration file in use.
  password    Update password in an existing remote.
  paths       Show paths used for configuration, cache, temp etc.
  providers   List in JSON format all the providers and options.
  reconnect   Re-authenticates user with remote.
  redacted    Print redacted (decrypted) config file, or the redacted config for a single remote.
  show        Print (decrypted) config file, or the config for a single remote.
  touch       Ensure configuration file exists.
  update      Update options in an existing remote.
  userinfo    Prints info about logged in user of remote.

Flags:
  -h, --help   help for config

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.

2023/08/18 17:14:43 Fatal error: failed to retrieve token using username/password: oauth2: "not_found" "query user not found"

The rclone config contents with secrets removed.

[test]
type = drive
client_id = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
client_secret = jxxxxxxxxxxxxxxxxxxxxxxxxx
scope = drive
token = xxxx

[crypt]
type = crypt
remote = test:xxxxxxx
filename_encryption = standard
directory_name_encryption = true
password = xxxxxxxxxxxxxxxxxxxx
password2 = xxxxxxxxxxxxxxxxxxxxo

[backup]
type = crypt
remote = test:Backup
filename_encryption = standard
directory_name_encryption = true
password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
password2 = xxxxxxxxxxxxxxxxxxxxxxxx

A log from the command with the -vv flag

(https://pastebin.com/hXFHNfZn)

thank you

Check if you can login to their "drive" using web browser:

https://mypikpak.com/drive/all

I was testing them some time ago and remember they had very weird limits regarding password length and characters used. Eventually I could connect using rclone but password had to be like this:

1234567ABCD - 7 digits and 4 upper case letters.

Thank you for your fast response. Yes i can log in to their drive website. I have change the password again with your example.
And again the same error :).

Log message said 'user not found'. Username in pikpak is usually email address or mobile phone number.

Thank you wiserain. I have tried with different combinations of E-Mail, Username, Phone numbers, passwords nothing work.
I have contact the support from pikpak, their have no interest to help with rclone.

I have created new PikPak account using my email address (myemail@email.com) and simple password (test1234).

And configured it with rclone without any issues:

Storage> 36

Option user.
Pikpak username.
Enter a value.
user> myemail@email.com

Option pass.
Pikpak password.
Choose an alternative below.
y) Yes, type in my own password
g) Generate random password
y/g> y
Enter the password:
password:
Confirm the password:
password:

Edit advanced config?
y) Yes
n) No (default)
y/n>

Configuration complete.
Options:
- type: pikpak
- user: myemail@email.com
- pass: *** ENCRYPTED ***
- token: {"access_token":"XXXX","token_type":"Bearer","refresh_token":"XXXX","expiry":"2023-08-28T14:11:19.339889+01:00"}
Keep this "PikPakTest" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d>

Your error message is very clear:

you type something wrong.

I suggest you start from the scratch.

Sooo, first thank you all for your support :ok_hand:. I have found the error. My hole Internet is running behind Adguard with different filter, crypt DNS etc. After i disabled Adgaurd their is no problem at all. Rclone grab the token and now i´m connect it to pikpak :). With other cloudstorages their is no problem :man_shrugging:.

1 Like

I faced the same problem, I had to connect to a VPS in Paris to be able to obtain the token

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.