-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi;
We have encountered an issue recently where our API GetFoldersByExternalID (and GetAllFoldersByExternalID) queries are all failing (they have worked for years). In our Panopto client model we have this code:
public function get_folderid_by_externalid($externalid) {
try {
echo "<h1>get_folderid_by_externalid called in Panopto model :</h1>";
//$param = new \Panopto\SessionManagement\GetFoldersByExternalId($this->auth, array($externalid),'BCCanvas'); //with provider param
$param = new \Panopto\SessionManagement\GetFoldersByExternalId($this->auth, array($externalid)); //no provider param
$folders = $this->smclient->GetFoldersByExternalId($param)->getGetFoldersByExternalIdResult();
} catch(Exception $e) {
throw new SoapFault('client', $e->getMessage());
}
if (count($folders)) {
return $folders[0]->getId();
}
return false;
}
Here is our payload:
Panopto\SessionManagement\GetFoldersByExternalId Object
(
[auth:protected] => Panopto\Auth\AuthenticationInfo Object
(
[AuthCode:protected] =>
[Password:protected] => xxxxxxxxx
[UserKey:protected] => xxxxx
)
[folderExternalIds:protected] => Array
(
[0] => 1667293
)
)
Here is the response from Postman:
<h1>getGetFoldersByExternalIdResult:</h1>object(Panopto\SessionManagement\ArrayOfFolder)#85 (1) {
["Folder":protected]=>
NULL
}
Any clue as to what has gone wrong?
Many Thanks!
Metadata
Metadata
Assignees
Labels
No labels