From 8a7b4dbcba96af049f0aab35a95a2c20cdfd26f6 Mon Sep 17 00:00:00 2001 From: HojouFotytu Date: Tue, 14 Jan 2020 19:59:08 +0900 Subject: [PATCH] Updated Common Errors (markdown) --- Common-Errors.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Common-Errors.md b/Common-Errors.md index 55eca24..adbb6bc 100644 --- a/Common-Errors.md +++ b/Common-Errors.md @@ -18,9 +18,9 @@ If you setup the **Profit Trailer** path in "settings.general.json" and "Monitor This means you have specified a settings file in one of your global settings, but PTM cannot find it. Remember, the properties files must be in a folder with the EXACT same name as the global setting, and you MUST at least have one global setting named DEFAULT. See [this wiki entry for more details].(https://github.com/PTMagicians/PTMagic/wiki/Writing-Properties#1-using-a-preset-file) -### (Profit Trailer)
ERROR AppErrorController - Invalid api_token received - No data returned
&
(PT Magic)
The remote server returned an error: (401) Unauthorized. +### (Profit Trailer) ERROR AppErrorController - Invalid api_token received - No data returned // (PT Magic) The remote server returned an error: (401) Unauthorized // (PT Magic) No Server API Token specified. -Starting with version 2.1.0, you need to add an API token to settings.general.json to match the API token in your Profit Trailer settings. [See 2.1.0 release notes](https://github.com/PTMagicians/PTMagic/releases/tag/2.1.0). +For PTM to access PT's API and get required data, you need to set an API token in your PT settings, and then add that token to your Profit Trailer settings.general.json file. See: (https://wiki.profittrailer.com/doku.php?id=web_interface_guide#server_settings) and (https://github.com/PTMagicians/PTMagic/releases/tag/2.1.0). ### Unhandled Exception: System.NullReferenceException / Object Reference not set to an instance of an object. Your settings.general.json file is unable to find a necessary setting in the "Application" section, either because it has been omitted, or a comma is missing at the end of the previous line. Check that you have a comma at the end of every line in your settings (except the last), check the example default settings that come with PTM, or check the release notes (and prior releases) for any REQUIRED settings changes that you might have skipped since you last updated PTMagic.