Updated Common Errors (markdown)

HojouFotytu 2020-01-14 19:59:08 +09:00
parent 3115b88506
commit 8a7b4dbcba
1 changed files with 2 additions and 2 deletions

@ -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) 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) <br> ERROR AppErrorController - Invalid api_token received - No data returned <br>&<br> (PT Magic) <br> 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. ### 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. 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.