{"id":8042,"date":"2025-09-04T23:22:33","date_gmt":"2025-09-05T04:22:33","guid":{"rendered":"https:\/\/librarytestdev.wpenginepowered.com\/?post_type=doc&#038;p=8042"},"modified":"2025-09-04T23:23:55","modified_gmt":"2025-09-05T04:23:55","slug":"troubleshooting-initialization-issues","status":"publish","type":"doc","link":"https:\/\/library-staging.tradingtechnologies.com\/apis\/tt-net-sdk\/creating-the-application-framework\/troubleshooting-initialization-issues\/","title":{"rendered":"Troubleshooting initialization issues"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">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&nbsp;<a href=\"\/tt-net-sdk\/api\/tt_net_sdk.ApiInitializeHandler.html\">ApiInitializeHandler<\/a>&nbsp;callback, you can use the tool to help determine why your app key is not valid for the application.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/sdk-diag-tool2.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Some common issues with application keys include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Invalid key length, which can occur when copying and pasting the application key.<\/li>\n\n\n\n<li>Mismatched TT environment keys, which typically occurs when using a UAT key in the production environment, or vice-versa.<\/li>\n\n\n\n<li>Unauthorized key, which can indicate that the application key is not a TT .NET SDK application key.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The TT .NET SDK Diagnostic Tool is included in the&nbsp;<a href=\"\/tt-net-sdk\/articles\/gs-reference-dll.html\">NuGet software library package<\/a>&nbsp;and is installed in the location associated with your application&#8217;s Visual Studio solution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To use the TT .NET SDK Diagnostic Tool:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the solution&#8217;s location, double-click\u00a0<strong>TTNETAPI_DiagnosticTool.exe<\/strong>.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/sdk-diag-tool1.png\" alt=\"\">\n<ul class=\"wp-block-list\">\n<li>Specify the\u00a0<strong>App Key (with secret)<\/strong>.<\/li>\n\n\n\n<li>Select the\u00a0<strong>Environment<\/strong>\u00a0in which you are trying to run your application.<\/li>\n\n\n\n<li>Change the\u00a0<strong>Timeout (In milliseconds)<\/strong>, if desired.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click\u00a0<strong>START TT .NET SDK<\/strong>.The\u00a0<strong>Logs<\/strong>\u00a0section displays a message similar to the following.<img decoding=\"async\" src=\"https:\/\/library-staging.tradingtechnologies.com\/wp-content\/uploads\/2025\/09\/sdk-diag-tool3.png\" alt=\"\"><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p class=\"wp-block-paragraph\">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&nbsp;<a href=\"\/tt-net-sdk\/api\/tt_net_sdk.ApiInitializeHandler.html\">ApiInitializeHandler<\/a>&nbsp;callback, you can use the tool to help determine why your app key is not valid for the application.<\/p>\n<p class=\"wp-block-paragraph\">Some common issues with application keys include:<\/p>\n<p class=\"wp-block-paragraph\">The TT .NET SDK Diagnostic Tool is included in the&nbsp;<a href=\"\/tt-net-sdk\/articles\/gs-reference-dll.html\">NuGet software library package<\/a>&nbsp;and is installed in the location associated with your application&#8217;s Visual Studio solution.<\/p>\n<p class=\"wp-block-paragraph\">To use the TT .NET SDK Diagnostic Tool:<\/p>\n","protected":false},"author":2,"template":"wp-custom-template-single-doc-tt-net-sdk","meta":{"_acf_changed":true,"footnotes":""},"docs-category":[770],"class_list":["post-8042","doc","type-doc","status-publish","hentry","docs-category-creating-the-application-framework"],"acf":[],"_links":{"self":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/8042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":0,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/doc\/8042\/revisions"}],"wp:attachment":[{"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/media?parent=8042"}],"wp:term":[{"taxonomy":"docs-category","embeddable":true,"href":"https:\/\/library-staging.tradingtechnologies.com\/ja\/wp-json\/wp\/v2\/docs-category?post=8042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}