If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion� for your reporting needs.

Login response "unsupported_grant_type" with 400 statua

Hi There,

          I am using syncfusion reporting server and try to login to the reporting server using the rest api given by syncfusion.
          But while login i am receiving the below error 
          
          Status : 400
          {
               "error": "unsupported_grant_type"
          }

          And i don't know what to send in the grant_type.


          Can you help me what is it i am missing.

Thank's,
Vengatramanan Srinivasan

5 Replies

SS Subha Sukumaran Syncfusion Team November 6, 2017 12:57 PM UTC

Hi Vengatramanan, 

Thanks for contacting Syncfusion Support. 

The error occurred because grant-type value is incorrect for generating a token. “grant type” is a string property and you should set “password” as value to it.  

Please refer the below help link for generating a token. 


Also, Please refer the below screenshot for generating token, 

 


And you can also generate token by calling our report server demo site http://reportserver.syncfusion.com/api/token

Regards, 
Subha 





DH Dhilip June 22, 2018 02:34 PM UTC

I am getting the same error even after setting grant_type as "password"

Please help me with this.


MS Makila Subramaniyan Syncfusion Team June 25, 2018 12:02 PM UTC

Hi Dhilip,  

A support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.  


Regards, 
Makila S. 
 



JV Johan van der Westhuizen March 1, 2019 07:40 AM UTC

I am geting the same error!

Please help.


MM Mageshyadav M Syncfusion Team March 1, 2019 02:25 PM UTC

Hi Johan,  
 
We request you to ensure that you have given the credentials under ‘x-www-form-urlencoded’, if you are using Postman. 
 
  
 
If you are trying to generate the token programmatically, please form the API input as ‘FormUrlEncodedContent’ as below. 
 
   
  
Regards, 
Mageshyadav.M 


Loader.
Up arrow icon