Troubleshooting initialization issues
The TT .NET SDK Diagnostic Tool helps you troubleshoot problems that might arise when trying to authenticate a TT .NET SDK application. If you get an authentication error in your ApiInitializeHandler callback, you can use the tool to help determine why your app key is not valid for the application.
Some common issues with application keys include:
- Invalid key length, which can occur when copying and pasting the application key.
- Mismatched TT environment keys, which typically occurs when using a UAT key in the production environment, or vice-versa.
- Unauthorized key, which can indicate that the application key is not a TT .NET SDK application key.
The TT .NET SDK Diagnostic Tool is included in the NuGet software library package and is installed in the location associated with your application's Visual Studio solution.
To use the TT .NET SDK Diagnostic Tool:
From the solution's location, double-click TTNETAPI_DiagnosticTool.exe.
- Specify the App Key (with secret).
- Select the Environment in which you are trying to run your application.
- Change the Timeout (In milliseconds), if desired.
Click START TT .NET SDK.
The Logs section displays a message similar to the following.