Unable to use real user token in Uloz.to

What is the problem you are having with rclone?

I am able to use rclone ncdu with testing token of uloz.to cloud ";HG%7jW6@6/8vx">R;f(", but my real token (sent from uloz.to support) doesn't function with this error message:

2025/01/26 20:17:42 CRITICAL: Failed to create file system for "karel.ulman na uloz.to:": Error 90001 (401): Invalid authorization token. Please provide correct X-Auth-Token api key header.

I suspect special characters because my token contains (except common letters and numbers) right square bracket, underscore, grave accent, left curly bracket.

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

rclone v1.69.0
- os/version: Microsoft Windows 10 Home 22H2 22H2 (64 bit)
- os/kernel: 10.0.19045.5371 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.4
- go/linking: static
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Uloz.to

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

rclone ncdu "karel.ulman na uloz.to:"

The rclone config contents with secrets removed.

Current remotes:
Name                 Type
====                 ====
karel.ulman na uloz.to ulozto
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 > karel.ulman na uloz.to
remote> 1
Editing existing "karel.ulman na uloz.to" remote with options:
- type: ulozto
- app_token: *** DELETED ***
- username: karel.ulman
- password: *** ENCRYPTED ***
Option app_token.
The application token identifying the app. An app API key can be either found in the API
doc https://uloz.to/upload-resumable-api-beta or obtained from customer service.
Enter a value of type string. Press Enter for the default (*** DELETED ***).                                                                                                                                  app_token>

A log from the command with the -vv flag

2025/01/26 20:22:31 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rclone" "ncdu" "karel.ulman na uloz.to:" "-vv"]
2025/01/26 20:22:31 DEBUG : Creating backend with remote "karel.ulman na uloz.to:"
2025/01/26 20:22:31 DEBUG : Using config file from "C:\\Users\\Karel Ulman\\AppData\\Roaming\\rclone\\rclone.conf"
2025/01/26 20:22:31 CRITICAL: Failed to create file system for "karel.ulman na uloz.to:": Error 90001 (401): Invalid authorization token. Please provide correct X-Auth-Token api key header. 

welcome to the forum,

there is something wrong with the way you are pasting text into a post.
everything is a very hard to read, very long single line of text.
for some reason, all the newline characters are missing?

can you please re-post the info, so we can read it?

I hope it is better now.

I forgot write that my real token is right because my simple java app creates uloz.to session with this key without problem.

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