We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Add authorization while loading report using load()

Answered
Anjali Changale asked on January 5, 2021

Hi,
 
We are using the bearer token for authorization and want to pass this token to flexmonster.load(). 
I referred this -https://www.flexmonster.com/api/load/
But getting error - 
<Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Time:2021-01-05T10:48:50.9068234Z</Message><AuthenticationErrorDetail>Authentication scheme Bearer is not supported in this version.</AuthenticationErrorDetail></Error>
 
 
Please suggest ASAP.
Thanks,
Anjali 
 

3 answers

Public
Vera Didenko Vera Didenko Flexmonster January 6, 2021

Hello, Anjali, 
 
Thank you for reaching out to us. 
 
Our team would like to confirm that Flexmonster provides the possibility to specify request headers when loading the report from a remote location
 
We would like to kindly explain that the provided error is a server-side error. It seems the Authentication approach that you are using is not implemented on your server. Therefore, it seems your server failed to process the request to load the report. 
 
With this in mind, our team kindly suggests checking that the used Authentication approach is implemented and handled on your server. 
 
Please feel free to reach out if any further questions arise.
 
Kind regards,
Vera

Public
Vera Didenko Vera Didenko Flexmonster January 11, 2021

Hello, Anjali, 
 
We would like to kindly take an interest if you managed to resolve the issue.
 
Please let us know if everything works.
Looking forward to your response.
 
Kind regards, 
Vera

Public
Vera Didenko Vera Didenko Flexmonster January 20, 2021

Hello, Anjali, 
 
Our team is wondering if you managed to resolve the authentication issue.
 
Please let us know if everything works. If any questions remain, please feel free to reach out.
 
Kind regards, 
Vera

Please login or Register to Submit Answer