Nexcloud Client not able to create Directory

When i am Trying to create an Directory from Nextcloud android client it gives status 401 Unauthorised, while i can upload and download files, rename files, remove files successfully.