Articles in this section
Category / Section

How to fix a 400 Bad Request Error thrown with Authorization Server API request in Bold BI embedded application?

Published:

When embedding Bold BI dashboards in your application, you may encounter a 400 - Bad Request Error on the Authorization Server API request. This article will guide you through the process of resolving this issue.

Understanding the Authorization Server

The Authorization Server is an endpoint implemented in the embed application. It receives embedding details from the Bold BI Embed SDK instance and sends them to the Bold BI Server for validation. In other words, the Authorization Server API takes care of authorizing the communication between your embed application and the Bold BI Server.

For more details about the Authorization Server, please refer to the Authorize Server documentation.

Parameters in the EmbedWrapper File

The Authorization Server API is called from the EmbedWrapper file with the following two parameters:

  1. embedQueryString: This is a query string that contains the details of the embedding dashboard, such as the dashboard ID, nonce, timestamp, and expiration time.

  2. dashboardServerApiUrl: This parameter contains the Bold BI Server API URL, which is used to communicate with the Bold BI Server for authorizing your embedding request and retrieving the dashboard information from Bold BI to your client.

Troubleshooting the 400 - Bad Request Error

To resolve the 400 - Bad Request Error, follow these steps:

  1. Ensure that the embedQueryString and dashboardServerApiUrl parameters are passed to the Authorization Server API.

  2. Verify that the Authorization Server API is implemented correctly in your embed application, as described in the Authorize Server documentation.

  3. Check the communication between your embed application and the Bold BI Server. Make sure that the Bold BI Server API URL is accessible from your application.

  4. Inspect the error message for more details about the issue. The error message may provide additional information about the cause of the 400 - Bad Request Error.

By following these steps, you should be able to resolve the 400 - Bad Request Error thrown with Authorization Server API request in your Bold BI embedded application.

Related Links

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
SM
Written by Soundarya Mani Meharan
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied