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

Getting MWC token validation failed error while calling refresh_semantic_model function #384

Open
sukumar2812 opened this issue Dec 24, 2024 · 2 comments
Labels
question Further information is requested

Comments

@sukumar2812
Copy link

While using refresh_semantic_model() function to visualize the refresh, getting the below error. This issue is transient in nature. Sometimes it works, sometime doesn't. As a result I'm not able to use for my production scenario. Please can you guide.
Uploading the error snapshot for your reference.

Error Code:
AdomdConnectionException: MWC token validation failed: Invalid Token type, expected ServiceToken but got AadBasedToken

Image
@sukumar2812 sukumar2812 added the question Further information is requested label Dec 24, 2024
@sukumar2812 sukumar2812 changed the title Getting MWC token validation failed while call refresh_semantic_model function Getting MWC token validation failed error while calling refresh_semantic_model function Dec 24, 2024
@m-kovalsky
Copy link
Collaborator

Do you get this issue only when specifying visualize=True? The token does not seem related to the visualize parameter.

@sukumar2812
Copy link
Author

I noticed even when calling fabric.create_trace_connection or create_tom_server these functions from sempy packages.

I suppose the visualise=True inturn call these functions, which is why may be we got this error.

What could be the resolution? Any thoughts...

This happens intermittently/occasionally not all the time .

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