nextcloud / nextcloud/ios

Upload of files shared by other apps fails

Open
#1,048 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Every time I share something to the nextcloud app, the upload fails with an error 401, see screenshot for details.

If I upload a files within the app (i.e., choosing the file within the nextcloud app) the upload is successful.

Expected behaviour

Upload of files, e.g. from ios pictures app, to nextcloud should work.

Actual behaviour

Upload of files, e.g. from ios pictures app, to nextcloud results in Error.

Steps to reproduce

Share a file to nextcloud.

iOS version

13.1.3

App version

2.25.2.10

Server configuration

Operating system:

debian stretch / 9.11

Web server:

apache2

Database:

Type: mysql
Version: 10.1.41

PHP version:

7.3.12

Nextcloud version: (see Nextcloud admin page)

Nextcloud 17.0.1

Screenshot of error:

IMG_5520
IMG_5521

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by reproducing the share flow from the iOS Photos app using the reported configuration, then trace the app's shared-file upload and authentication path. Done means shared files upload successfully instead of returning HTTP 401.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.