Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

New Member

Error: 401 Unauthorized: [no body]

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

ResponseEntity<String> response =, HttpMethod.GET, reqEntity, String.class);


I only filled in the parameter values in


Thanks for your help !

Community Support
Community Support

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.


Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.