Debian Buster is no longer supported by our packages. Please consider upgrading your OS soon.
Meanwhile, the stable repo doesn’t really seem to contain anything newer 4.1 except for this one (faulty) package. You can temporarily switch from stable to stable-6.1. But actually you’d already break the ugprade path by that.
Understood.
By listening the versions it says that i can upgrade to:
zammad/unknown 6.1.0-1698658720.d7dece56.buster amd64 [upgradable from: 5.4.0-1680033414.eb1b0655.buster]
How could i do it? By following your documentation y get the 500 error
after rereading your post, I think you have to upgrade your OS without update the zammad package. apt-mark hold zammad should take care of this. you should be able to upgrade to the latest debian version. After that simply apt-mark unhold zammad and apt update && apt dist-upgrade -y to update the zammad package.
Hope this helps.
edit: and of course you need to adapt your zammad source.list to the new debian version