Rclone yandex error 403

What is the problem you are having with rclone?

I have a error 403 with Yandex storage

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

v1.61.1

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-60-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.4
  • go/linking: static
  • go/tags: none

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

Yandex

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

rclone -v ls HomeRaspHostFilesYandex:HomeRaspHostFiles/

The rclone config contents with secrets removed.

[HomeRaspHostFilesYandex]
type = yandex
client_id = XXXX
client_secret = XXXX
token = {"access_token":"XXXX","token_type":"OAuth","refresh_token":"XXX","expiry":"2024-02-26T20:01:12.428251586+01:00"}

A log from the command with the -vv flag

rclone -vv ls HomeRaspHostFilesYandex:HomeRaspHostFiles/
2023/03/03 20:48:12 DEBUG : rclone: Version "v1.61.1" starting with parameters ["rclone" "-vv" "ls" "HomeRaspHostFilesYandex:HomeRaspHostFiles/"]
2023/03/03 20:48:12 DEBUG : Creating backend with remote "HomeRaspHostFilesYandex:HomeRaspHostFiles/"
2023/03/03 20:48:12 DEBUG : Using config file from "/home/james/.config/rclone/rclone.conf"
2023/03/03 20:48:12 DEBUG : fs cache: renaming cache item "HomeRaspHostFilesYandex:HomeRaspHostFiles/" to be canonical "HomeRaspHostFilesYandex:HomeRaspHostFiles"
2023/03/03 20:48:12 ERROR : : error listing: [403 - ForbiddenError] Forbidden (Доступ запрещён. Возможно, у приложения недостаточно прав для данного действия.)
2023/03/03 20:48:12 DEBUG : 4 go routines active
2023/03/03 20:48:12 Failed to ls with 2 errors: last error was: [403 - ForbiddenError] Forbidden (Доступ запрещён. Возможно, у приложения недостаточно прав для данного действия.)

403 is usually a permissions issue, the remote lacks permission to access the object.

when you posted, there was a template of questions, for you to answer....

second time asking for that.

Sorry for that.

1 Like

no worries, my bad, i should have explained better.

that those answers help us to help you......

If someone have an idea? Is it a bug of rclone?

It's not bug you should enter callback URI only with IP address, not "localhost". It tells rclone to start browser and it should open a "Success!" page.
And setting up this doesn't mean that you won't get strange errors on command line or other like traffic limit for upload on API.
Yandex WebDAV doesn't let you upload files but it deletes files without moving them to "Trash" folder.

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