Mailadm DCACCOUNT url not working, in CURL it is working fine

Delta Chat version

v1.159.3

Expected behavior

new burner account on mailcow

Actual behavior

?t (token) parameter not specified

Steps to reproduce the problem

$ curl -X POST ‘http://localhost:3691/?t=1d_r84EW3N8hEKk&n=oneday

creates account just fine
DCACCOUNT:http://localhost:3691/new_email?t=1d_r84EW3N8hEKk&n=oneday
gives the error message always:

  • via browser desktop
  • via qrcode both on desktop and on mobile

Are you running curl on the same machine as Delta Chat?

Which error message do you see? Does your system support URL schemes?

No I wasn’t I was running curl on the mailadm/ mailcow server, and that worked fine. It also worked fine on the server with via internet with the URL mailadm.example.com.

I now tried it on a remote windows machine and it isn’t working. Same errormessage:
{“reason”:“?t (token) parameter not specified”,“status_code”:403,“type”:“error”}

curl -X POST “https://mailadm.example.com/new_email?t=12345^&n=oneday

So remote use is the problem any tips on how to troubleshoot?