Sync with NexCloud sudden error

Hi there,

OS: Linux
Joplan version: 2.3.5

for some test purposes, I temporary removed the Synchronization settings and put them back, 100% identical, but now I get an error:

Error. Please check that URL, username, password, etc. are correct and that the sync target is accessible. The reported error was:
PROPFIND : (Exception OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden) (401): <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="sabre/dav" xmlns:o="http://owncloud.org/ns"> <s:exception>OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden</s:exception> <s:message/> <o:hint xmlns:o="o:">password login forbidden</o:hint> </d:error> (Code 401)

This is really weird, it was working properly. My Nextcloud WebDAV URL looked, nevertheless, unusual when I compared it to what I can find NetxCloud docs & Joplin FAQ, but it works on my Andoid app with the same settings:

https://xxx.xxxxx.xxx/remote.php/dav/files/yyyyy/Joplin

where yyyyy is my NextCloud username

What could have messed up my Sync and how to get it back to work?

Thanks in advance,
58

For your user the login with username and password is not allowed.
Do you have enabled 2FA on your NextCloud?

Do you have enabled 2FA on your NextCloud?

Yes, I have 2FA when I access my NextCloud account from my Browser.

@JackGruber

Thanks to your comment I figured it out that the Session in NextCloud is different, thus the password has to be renewed within NextCloud.

----- solution -----
When Sync Target is NextCloud with 2FA it is necessary to define a Device password within NextCloud settings (under Security --> Devices & sessions) instead of using your 'standard' NextCloud password.

1 Like

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