Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate_measure_descriptions user doesnt belong to cluster issue #406

Open
jozsefbraun opened this issue Jan 14, 2025 · 1 comment
Open
Labels
question Further information is requested

Comments

@jozsefbraun
Copy link

Dear Team!

I would like to invoke generate_measure_descriptions() function inside a Fabric Notebook, but I get the following error:
FabricHTTPException: 401 Unauthorized for url: https://api.fabric.microsoft.com//explore/v202304/nl2nl/completions
Headers: {'Content-Length': '0', 'X-PowerBI-Error-Info': 'UserDoesNotBelongToCurrentCluster', 'X-PowerBI-Error-Details': "Current user belongs to cluster '', but this request was sent to cluster: 'WABI-NORTH-EUROPE-redirect.analysis.windows.net'.", 'request-redirected': 'true', 'home-cluster-uri': 'https://wabi-north-europe-m-primary-redirect.analysis.windows.net/', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'X-Frame-Options': 'deny', 'X-Content-Type-Options': 'nosniff', 'Access-Control-Expose-Headers': 'RequestId,X-PowerBI-Error-Info,X-PowerBI-Error-Details', 'RequestId': 'xxx', 'Date': 'Tue, 14 Jan 2025 15:34:48 GMT'}

I get the same results with a specific measure + readonly = True and no measure defined + False settings.

My workspace is attached to a P4 capacity, my user is also part of the user group who can use Copilot feature and I am a Fabric administrator as well.
(Also, randomly connect_semantic_model() doesnt find my model saying that it doesnt exist, but it's clearly there - I used another capacity in the beginning then i attached that P4, probably that object movement messed it up?! (even after hours))
Could you please help me finding the issue?

Thanks
Jozsef

@jozsefbraun jozsefbraun added the question Further information is requested label Jan 14, 2025
@m-kovalsky
Copy link
Collaborator

You must run this function on an F64 sku or higher as documented here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants