AnsweredAssumed Answered

Unable to download an attachement using Blackboard Learn REST APIs!

Question asked by dpbhatt on Mar 27, 2019
Latest reply on Jul 2, 2019 by yr.bogdan

I have been using Blackboard Learn for REST and LTI Developers version 3500.9.0 for my LTI tool development. I have an issue to download an attachment using the REST API. I am sending Bearer token in the header to call the APIs but I am always getting 500 ServerInternalError in HttpClient c#.


But when I call the API in Postman, I get the document. I tried to solve the issue but no luck at the end. Do I have to send anything else other than Authorization: Bearer token to the request? I mean any cookie or session value or something else. Any thoughts on this? Expert advice please for .NET.


When I paste the URL to a browser, I can see that there are the following 3 consecutive requests to get the result.



Status code: 302



Status code: 302