How to resolve the issue "User detail not found" in JavaScript Embedding?
Resolving “BoldBI Embedded: User Detail Not Found” Issue in Dashboard Embedding Applications
When developing an embedding application to render the dashboard, you may encounter an issue labeled as “BoldBI Embedded: User detail not found”. This problem typically arises due to an invalid user email or a user email being missed in the authorization server API of the embedding application. To implement the authorization server API, refer to the help documentation
Solution
To resolve this issue, you need to ensure that the user email is valid and correctly provided in the authorization server API. Here is how you can do it:
- Use your user-email as
embed_user_email
in the embed query string:
embedQuerString += "&embed_user_email=user@domain.com";
Alternatively, you can use your username as embed_user_email
:
embedQuerString += "&embed_user_email=username";
- Add
embed_signature
to the embed query string:
var embedSignature = "&embed_signature=" + GetSignatureUrl(embedQuerString);
- Finally, construct the
embedDetailsUrl
:
var embedDetailsUrl = "/embed/authorize?" + embedQuerString + embedSignature;
By following these steps, you should be able to resolve the “BoldBI Embedded: User detail not found” issue and successfully render the dashboard in your embedding application.