|
| 1 | +[← Log](8-Log-EN.md) | Exception[(中文)](9-Exception-CN.md) |[Home →](../README.md) |
| 2 | +*** |
| 3 | + |
| 4 | +# Questions |
| 5 | + |
| 6 | +| exception | solutions | |
| 7 | +|----------------------|------------------| |
| 8 | +| content has not been provided | Upgrade to the latest version | |
| 9 | +| ExceptionInInitializerError |Upgrade to the latest version| |
| 10 | +| NoClassDefFoundError |Add missing dependency packages| |
| 11 | +| SocketTimeoutException has occurred on a socket read or accept. |Set a reasonable timeout| |
| 12 | +| Specified signature nonce was used already. |Upgrade to the latest version| |
| 13 | +| NoSuchMethodError |Add missing dependency packages| |
| 14 | +| MissingSecurityToken | Upgrade to the latest version | |
| 15 | +| Specified access key is not found |[heck the correctness of AK](#Specified-access-key-is-not-found)| |
| 16 | +| An invalid XML character (Unicode: 0x8) was found in the element content of the document |[Verify that the XML is valid](#xml-character)| |
| 17 | +| Server response has a bad format type | [more](#Server-response-has-a-bad-format-type) | |
| 18 | + |
| 19 | +## Specified access key is not found |
| 20 | + |
| 21 | +Reasons and solutions: |
| 22 | + |
| 23 | + 1. Ak doesn't have permission, contact the administrator to get permission |
| 24 | + 2. Ak error, check the correctness of AK |
| 25 | + 3. Environment mismatch, please confirm that AK is valid in the current environment |
| 26 | + |
| 27 | +## Server response has a bad format type |
| 28 | + |
| 29 | +Reasons and solutions: |
| 30 | + |
| 31 | +The response does not specify a data format |
| 32 | + |
| 33 | +1. `request.setAcceptFormat(FormatType.JSON)`. Add this code, if this cannot be fixed then you can use the second solution |
| 34 | +2. `HttpResponse response = client.doAction(request)` you could use this code to receive the returned data |
| 35 | + |
| 36 | +## xml character |
| 37 | + |
| 38 | +Reasons and solutions: |
| 39 | + |
| 40 | +[Official documentation](https://www.w3.org/TR/2000/REC-xml-20001006#NT-Char) |
| 41 | + |
| 42 | +The following three kinds of characters are illegal, please don't appear in XML |
| 43 | + |
| 44 | + 1. 0x00 - 0x08 |
| 45 | + 2. 0x0b - 0x0c |
| 46 | + 3. 0x0e - 0x1f |
| 47 | + |
| 48 | +*** |
| 49 | +[← Log](8-Log-EN.md) | Exception[(中文)](9-Exception-CN.md) |[Home →](../README.md) |
0 commit comments