Skip to content

500 error on apps.nextcloud.com account page via missing newsletter parameter leads to failed account updates #1692

@edward-ly

Description

@edward-ly

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Summary

A POST request to https://apps.nextcloud.com/account/ returns an HTTP 500 Internal Server Error when the newsletter opt-out parameter ("I would like to receive app developer news and updates from Nextcloud by email") is omitted. Sending the same request with subscribe_to_news=off results in a normal HTTP 302 redirect and successful processing, indicating inconsistent backend handling of an optional consent parameter.

Steps to reproduce

  1. Log in to https://apps.nextcloud.com/account/
  2. Update account details (e.g. first name, last name, email)
  3. Leave "I would like to receive app developer news and updates from Nextcloud by email" unchecked
  4. Submit the form

Expected behaviour

Account updates should succeed regardless of newsletter opt-in or opt-out state.

Actual behaviour

Omitting the subscribe_to_news parameter causes a server-side exception and HTTP 500 response.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions