Bild

API Schlüssel nicht mehr gültig?

Antworten
Denfen
Beiträge: 7
Registriert: 20. Sep 2016, 15:57
Kontaktdaten:

API Schlüssel nicht mehr gültig?

Beitrag von Denfen » 15. Mär 2017, 11:13

Hallo Matrix42 Community,

Unser Matrix42 MDM Connector funktioniert nicht mehr richtig.
Die Fehlermeldung beschreibt, das der Konnektor keine Rechte besitzt Daten aus Silberback in Matrix zu Importieren.

Ich vermute, das der API Schlüssel nicht mehr gültig ist.
Wo findet man in Silverback einen gültigen API Schüssel?

Mit freundlichen Grüßen
Denfen
System.Exception: Matrix42.Workflows.Activities.Common.WorkflowActivityRuntimeException: HttpSendActivity failed on sending request to /API/v1/devices, response status: .
The remote server returned an error: (401) Unauthorized.
Response body: No user logged in, token missing or invalid ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at Matrix42.Connectors.Activities.HttpSendBaseActivity`1.Execute(NativeActivityContext context)
--- End of inner exception stack trace ---
at Matrix42.Connectors.Activities.HttpSendBaseActivity`1.Execute(NativeActivityContext context)
at Matrix42.Connectors.Activities.HttpMultipleSendActivity`1.OnUrlCompleted(NativeActivityContext context, ActivityInstance completedinstance, String url)
at System.Activities.Runtime.CompletionCallbackWrapper.CompletionWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)


Workflow exception throw from the following activity stack:
1.107: HTTP Multiple Send - Matrix42.Connectors.Activities.HttpMultipleSendActivity`1[[System.Json.JsonObject, System.Json, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]
1.19: Package Body - System.Activities.Statements.Flowchart
1.12: Connector Package - Matrix42.Connectors.Activities.ConnectorPackageActivity
1.1: MDM Silverback Data Collector - System.Activities.Statements.Flowchart
1: DynamicActivity - System.Activities.DynamicActivity
---> Matrix42.Workflows.Activities.Common.WorkflowActivityRuntimeException: HttpSendActivity failed on sending request to /API/v1/devices, response status: .
The remote server returned an error: (401) Unauthorized.
Response body: No user logged in, token missing or invalid ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at Matrix42.Connectors.Activities.HttpSendBaseActivity`1.Execute(NativeActivityContext context)
--- End of inner exception stack trace ---
at Matrix42.Connectors.Activities.HttpSendBaseActivity`1.Execute(NativeActivityContext context)
at Matrix42.Connectors.Activities.HttpMultipleSendActivity`1.OnUrlCompleted(NativeActivityContext context, ActivityInstance completedinstance, String url)
at System.Activities.Runtime.CompletionCallbackWrapper.CompletionWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

--- End of inner exception stack trace ---
at Matrix42.DataGateway.Workflow.ClientWorkflowInvoker.InvokeActivityInternal(Activity activity, IEnumerable`1 arguments)
at Matrix42.DataGateway.Workflow.ClientWorkflowInvoker.Invoke(ClientWorkflowContainer workflow, IEnumerable`1 arguments)
at Matrix42.DataGateway.Workflow.ClientWorkflowInvoker.Invoke(ClientWorkflowContainer workflow, String argumentsXml)
at Matrix42.DataGateway.Workflow.ClientWorkflowInvoker.Invoke(ClientWorkflowContainer workflow, String argumentsXml)
at Matrix42.DataGateway.Workflow.IClientWorkflowInvoker.Invoke(ClientWorkflowContainer workflow, String argumentsXml)
at Matrix42.DataGateway.Workflow.ClientWorkflowSandbox.InvokeInsideSandbox(ClientWorkflowContainer workflow, String argumentsXml)
at Matrix42.DataGateway.Workflow.ClientWorkflowRepository.RunWorkflow(ClientWorkflowKey workflowKey, IEnumerable`1 arguments)
at Matrix42.DataGateway.Workflow.Handlers.WorkflowCommandHandler.Handle(IMessage message, ExecuteWorkflowRequest command)

Benutzeravatar
Hendrik_Ambrosius
Moderator
Moderator
Beiträge: 7399
Registriert: 13. Dez 2004, 23:10
Wohnort: Adendorf/Lüneburg

Re: API Schlüssel nicht mehr gültig?

Beitrag von Hendrik_Ambrosius » 15. Mär 2017, 12:46

Sie können in Silverback unter Admin / System User Mgmt auf einem Benutzer einen neuen API Key generieren.
.
Hendrik Ambrosius / Senior Consultant
Mobile: +49 172 408 4447 | hendrik.ambrosius@matrix42.com
Matrix42 AG | Elbinger Straße 7 | 60487 Frankfurt am Main | Germany | www.matrix42.com

Disclaimer: I participate in this forum on a voluntary basis. Views expressed are not necessarily those of Matrix42 AG or of the support team.

Denfen
Beiträge: 7
Registriert: 20. Sep 2016, 15:57
Kontaktdaten:

Re: API Schlüssel nicht mehr gültig?

Beitrag von Denfen » 15. Mär 2017, 13:10

Vielen Dank :D

Hat funktioniert.

Antworten

Zurück zu „Silverback by Matrix42“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast