Problem with pimcore integration

When i try to do this command advanced-object-search:update-mapping I take this error

i’ve configured the pimcore client as below in the config/config.yaml file.
pimcore_open_search_client:
clients:
default:
hosts: [‘localhost:9200’]
password: hidden
username: ‘hidden’
ssl_verification: false
log_404_errors: true #Enable logging of 404 errors (default: false)

Define the client to be used by advanced object search

advanced_object_search:
client_name: default # default is default value here, just need to be specified when other client should be used.
index_name_prefix: ‘advanced_object_search_’

How i can resolve this?
Thanks.

Solved, the problem was the configuration of the security plugin.