You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I am only starting to use this library, so forgive me if I am using it wrong. Nevertheless, the documentation is very brief, new library users depend on understanding the sample client.
At this moment the sample client does not work as provided. For instance, startRefresh() is sending a request to the NextCloud server with URL "/remote.php/dav/files/null//". User "null" is wrong, and the double '/' at the end is wrong. The server rejects this URL.
Work around: I inserted setUserId() after setCredential() to get the proper user name in the URL ("/remote.php/dav/files/username//"):
Hi there, I am only starting to use this library, so forgive me if I am using it wrong. Nevertheless, the documentation is very brief, new library users depend on understanding the sample client.
At this moment the sample client does not work as provided. For instance, startRefresh() is sending a request to the NextCloud server with URL "/remote.php/dav/files/null//". User "null" is wrong, and the double '/' at the end is wrong. The server rejects this URL.
Work around: I inserted setUserId() after setCredential() to get the proper user name in the URL ("/remote.php/dav/files/username//"):
What concerns the trailing "//", I had to change the root folder string in startRefresh():
instead of
It appears that the library does not expect the leading slash in any path.
After these two workarounds, the sample client is working.
The text was updated successfully, but these errors were encountered: