Error 500 after enrolling webauthn token

Hello

I’m getting the following error after enrolling webauthn token :
The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. / The operation either timed out or was not allowed

I have set the following policies :
limit_user_token_type

active: **True**
scope: **user**
realm: **['my_realm']**
adminrealm: **[]**
adminuser: **[]**
resolver: **[]**
pinode: **[]**
check_all_resolvers: **False**
user: **[]**
client: **[]**
time: ****
conditions: **[]**
priority: **1**
action: **{'enrollTOTP': True, 'enrollWEBAUTHN': True}**

and 

webauthn

active: True
scope: enrollment
realm: [‘my_realm’]
adminrealm: []
adminuser: []
resolver: [‘mydomain.net’]
pinode: [‘localnode’]
check_all_resolvers: False
user: []
client: []
time: ****
conditions: []
priority: 1
action: {‘webauthn_max_token_per_user’: ‘1’, ‘webauthn_relying_party_id’: ‘mydomain.net’, ‘webauthn_relying_party_name’: ‘My Company’}

Thank you in advance for your help

This is a direct webauthn error and has nothing to do specifically with privacyIDEA.
Webauthn errors are crap.