Issue with using the labs button in Kibana dashboard

I am using Elasticsearch service and Kibana (v8.6.1). I turned on the 'Enable labs button in Dashboard' in Advanced Settings, but when I click the labs button in the Kibana dashboard, the following error occurs:

Error: Provider is not set up correctly
    at Object.useService (https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/plugin/presentationUtil/1.0.0/presentationUtil.plugin.js:1:5540)
    at w (https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/plugin/presentationUtil/1.0.0/presentationUtil.chunk.7.js:1:8642)
    at ca (https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:59210)
    at Za (https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:68953)
    at Js (https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:115835)
    at Fu (https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:99860)
    at Pu (https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:99682)
    at Ru (https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:99515)
    at xu (https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:96348)
    at https://xxx.kb.us-west-2.aws.found.io:9243/58934/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:45132

How can I resolve this error and use the labs features in the dashboard?

Removed #elastic-cloud