Get error at Basic Email Setting

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud version: 30.0.6 - 30.0.6.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.58 (Ubuntu) (fpm-fcgi)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
  • PHP version (e.g, 8.3):
    • 8.3.6
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yas
  • When did this problem seem to first start?
    • today
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • guide from https://mailserverguru.com/install-nextcloud-ubuntu-24-04/ in Proxmox VM
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

I Just try to setup my email in Basic Settings and this error occurs. I allready try to setup the SMTP Debug but nothing shows up in the logs.

The AxiosError / 400 is coming from the browser form submission for some reason. Can you check the browser inspected as described in the support template for clues?

Tracking possible bug here: [Bug]: Error setting up email server: AxiosError: Request failed with status code 400 · Issue #50845 · nextcloud/server · GitHub

Other thread with more traffic: AxiosError: Request failed with status code 400 - #2 by nano11bravo