Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I follow this document create java embed powerbi
But Authorization was not successful
request message:
Error Details:
Error: 401 Unauthorized: [no body]
error line is the following code in com.embedsample.appownsdata.services.PowerBIService.java
ResponseEntity<String> response = getReportRestTemplate.exchange(endPointUrl, HttpMethod.GET, reqEntity, String.class);
I only filled in the parameter values in Config.java
Thanks for your help !
HI @whalecloud,
How did you coding these scripts? Can you please share some more detail informations?
How to Get Your Question Answered Quickly
In addition, the error message seems related to the request, perhaps you can double check the 'body' to confirm if any issues in these parts.
Regards,
Xiaoxin Sheng
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
6 | |
2 | |
2 | |
2 |
User | Count |
---|---|
4 | |
4 | |
4 | |
4 | |
4 |