Authentication failed because the remote party has closed the transport stream
I am trying to access SOAP API and started with GitHub open source projects https://github.com/Panopto/SessionUploadExample where I am facing error "Authentication failed because the remote party has closed the transport stream." I am passing correct credentials having that facing authentication error.
Anybody faced this type of error ? or is there any other way to authenticate and access API. I wants to access Folders, Sessions and Viewers data how can I achieve this ?
For REST API:
I have referred https://support.panopto.com/s/article/support-panopto-com-s-article-oauth2-client-setup and https://support.panopto.com/s/article/oauth2-for-services to create custom application but faced exceptions.
Exception Details:
{"viewModel":{"errorMessage":"The client application is not known or is not authorized.","requestId":"c42af6af-9669-49c9-a6f9-013e679ebae2","siteUrl":"https://habib.ap.panopto.com/Panopto/oauth2/","siteName":"","currentUser":null,"logoutUrl":"https://habib.ap.panopto.com/Panopto/oauth2/logout","custom":{"errorDefaultProcessingRequestError":"Error processing request","oAuth2ErrorRequestId":"Request Id"}},"view":"error","logoUrl":"/Panopto/ContentCache/637316901586481256/_branding/5b501e48-6f52-4ee6-93fa-abf300713ad7/637316898265700359_largelogo.png"}