Are you using latest Matomo version? if not please upgrade and try again.
if you are, please contact us at hello@matomo.org and send us a link to this forum post and ideally your Matomo URL + a temporary user and password we can use to reproduce the issue.