GetSessionUserDetailedUsage giving strange error on invalid sessionId "Value cannot be null. Paramet
Original Post: Erik Steinebach, August 29, 2018 at 7:53 AM2 Answers 194 views
For someone who also runs into this: When I tried to use GetSessionUserDetailedUsage I got the following error: "System.ServiceModel.FaultException: 'Value cannot be null.
Parameter name: delivery'". Turns out the reason was because the sessionId is incorrect. When you lookup a sessionId in the UI, take the Delivery ID instead of the Session ID.
This was the code I was using:
var auth = new pur.AuthenticationInfo()
UserKey = PanoptoConstants.AuthUser,
Password = PanoptoConstants.AuthPassword
var client = new pur.UsageReportingClient();
var pagination = new pur.Pagination()
MaxNumberResults = 100
var userId = new Guid("---");
var sessionId = new Guid("---");
var result = client.GetSessionUserDetailedUsage(auth, sessionId, userId, pagination);
Doug Costain, Moderator, September 27, 2018 at 12:06 PM
I've gotten a case opened with our engineering team. Someone will be reaching out very shortly.
Erik Steinebach, September 27, 2018 at 12:09 PM0
Hi Doug, Thank you, but please keep in mind that this issue (https://support.panopto.com/s/question/0D539000063cWTSCA2) is far more important. Thank you, Erik