Forum Discussion
bbearchell
8 years agoFrequent Visitor
Cant access /groups/{group_Id}/reports/{report_id}/GenerateToken
I can access /groups/{group_Id}/reports and get a list of reports but I am unable to get a single report or generate an embedded token. Keep getting 400 bad requests. Any insight and direction would be extremely appreciated.
2 Replies
- v-micsh-msft
Microsoft Employee
Could you please share the error details?
See if the following thread helps:
Get Report details API responds with 400 bad request
Regards,
Michael
- nissandookeranRegular Visitor
For me it was because I was missing the datasetId parameter in my request body like the example at https://msdn.microsoft.com/en-us/library/mt784614.aspx shows
{ "accessLevel": "View", "identities": [ { "username": "EffectiveIdentity", "roles": [ "Role1", "Role2" ], "datasets": [ "fe0a1aeb-f6a4-4b27-a2d3-b5df3bb28bdc" ] } ] }