SIRIS, ALTO, and NAS: How to collect API logs in ConnectWise 2.0



This article shows you how to gather and send API logs from ConnectWise to Datto Technical Support for troubleshooting ConnectWise Integrations.


  • ConnectWise 2.0 


To gather and send API logs, use the ConnectWise stand-alone client to follow the steps below.

1. Go to System on the left-hand-side and click Members.

Figure 1: The ConnectWise Manage Admin menu (click to enlarge)

2. Click the API Members tab.

Figure 2: API Members (click to enlarge)

3. In the API Members tab, select the member ID for the ConnectWise 2.0 integration.

Figure 3: Member IDs (click to enlarge)

4. Click start_debug_mode. Debug mode records all actions by that integrator for the time you specify. Do any testing required in this amount of time, i.e., sending test tickets, adding devices, etc.

Figure 4: Debug mode selection (click to enlarge)

5. Enter the number of minutes for debug mode to run, then click OK.

Figure 5: Start debug mode (click to enlarge)

6. Click Search to generate a list of available logs.

search.pngFigure 6: Search (click to enlarge)

7. Click Download Logs and attach them to the ticket for further review.

download.pngFigure 7: Download logs (click to enlarge)

If the debug mode spots an error, there will be a 'yes' in the right-hand column noting the error and its cause. This note could help you resolve the issue before sending the logs back to Datto Technical Support.

Formatting and reading the logs

Logs downloaded from ConnectWise are challenging to read, You can reformat them to improve readability.

Figure 8: Raw log text, unencoded from SOAP (click to enlarge)

Follow the steps below to decode and format the log text into a more readable XML format:

1. Open the logs in a text editor, such as Atom or Notepad++.
2. Use the Find and Replace feature to replace { and } characters with < and >.
3. Go to the XML Entities Encoder/Decoder (external link).
4. Copy and paste the log text into the XML Encoder/Decoder and click decode text.
5. Paste the decoded log text into the XML Toolbox (external link) and click Format XML.
7. Paste the formatted text back into your text editor. The logs are now in a more easily readable form.

Figure 9: Formatted ConnectWise logs (click to enlarge)

Formatting with Atom and Pretty JSON

As an alternative, download the Atom text editor (external link) and install the Pretty JSON (external link).

Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

Want to talk about it? Have a feature request?

Head on over to our Datto Community Forum or the Datto Community Online.

For more Business Management resources, see the Datto RMM Online Help and the Autotask PSA Online Help .

Still have questions? Get live help.

Datto Homepage