ahmed_davila | 2019-03-25 13:47:36 UTC | #1
Hi friends.. looking for some help .. greetings in advance.. Well here is the problem I'm concern about.. I've just installed Pure Cloud Stats Dispatcher 'cause the company I work for rely on me the task to export all pure cloud information to out SQL Server. So I did installed it without any issue but now once it starts to run I get this FATAL ERROR:
03/25/2019 09:41:32 AM FATAL pcsd.Program - Application error System.AggregateException: One or more errors occurred. ---> PureCloudPlatform.C lient.V2.Client.ApiException: Error calling GetTelephonyProvidersEdges: {"status ":403,"code":"not.authorized","message":"You are not authorized to perform the r equested action."} at PureCloudPlatform.Client.V2.Api.TelephonyProvidersEdgeApi.GetTelephonyProv idersEdgesWithHttpInfo(Nullable1 pageSize, Nullable1 pageNumber, String name, String siteId, String edgeGroupId, String sortBy, Nullable`1 managed) at pcsd.PureCloud.GetEdgeDictionary() in E:\Boulot\Genesys\ECCC\Applications\ purecloud-stats-dispatcher\src\pcsd\pcsd\PureCloud.cs:line 431 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()
End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeou t, CancellationToken cancellationToken) at pcsd.PureCloud.LoadAllDictionaries() in E:\Boulot\Genesys\ECCC\Application s\purecloud-stats-dispatcher\src\pcsd\pcsd\PureCloud.cs:line 548 at pcsd.Program.Main(String[] args) in E:\Boulot\Genesys\ECCC\Applications\pu recloud-stats-dispatcher\src\pcsd\pcsd\Program.cs:line 125
(Inner Exception #0) PureCloudPlatform.Client.V2.Client.ApiException: Error
calling GetTelephonyProvidersEdges: {"status":403,"code":"not.authorized","mess age":"You are not authorized to perform the requested action."} at PureCloudPlatform.Client.V2.Api.TelephonyProvidersEdgeApi.GetTelephonyProv idersEdgesWithHttpInfo(Nullable1 pageSize, Nullable1 pageNumber, String name, String siteId, String edgeGroupId, String sortBy, Nullable`1 managed) at pcsd.PureCloud.GetEdgeDictionary() in E:\Boulot\Genesys\ECCC\Applications\ purecloud-stats-dispatcher\src\pcsd\pcsd\PureCloud.cs:line 431 at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()<---
I'am aware that the user I'm using for the info retrieval doesn't have admin rights at the Pure Cloud's, can that be the problem source?? Or maybe I could encourage my IT supervisor to include the user into a security group that may fix this issue?? Hope you guys can help me.. Thanks in advance..
Klol..
tim.smith | 2019-03-25 13:52:19 UTC | #2
The developers of that application have abandoned it. Can you point me to where you found the source code so I can get it taken down?
tim.smith | 2019-03-25 13:54:33 UTC | #3
FWIW, GetTelephonyProvidersEdges is documented as requiring telephony:plugin:all.
ahmed_davila | 2019-03-25 13:55:07 UTC | #4
Oh my! Well sure thing.. https://bitbucket.org/eccemea/purecloud-stats-dispatcher
Best regards..
system | 2019-04-25 13:55:09 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 4862