This document covers the errors that may occur when implementing Kakao Talk Social APIs and their solutions. If you cannot find the error you encounter, see Response code.
Here are the errors you may encounter when you call the Friend picker using the JavaScript SDK.
Error | Description | Solution |
---|---|---|
-204 | There is no retrieved friends. | After adding Kakao Talk friends, retry. |
-400 | Wrong parameter is used. | Check the correct parameters and retry. |
-402 | User does not consent to the 'Friends List in Kakao Service(Including profile image, nickname, and favorites)' scope. | Check the required_scopes in the response body, and request additional consent to the scope. |
-403 | Request is made on an unsupported web browser. | Check the supported web browser, and retry on one of the supported web browser. |
{
"msg": "insufficient scopes.",
"code": -402,
"api_type": "FRIENDS",
"required_scopes": [
"friends" // Ask request consent to this scope.
],
"allowed_scopes": [
"talk_message",
"profile"
]
}
Here are the errors you may encounter when you call the Friend picker using the Android SDK.
Error | Description | Solution |
---|---|---|
BadParameter | The value of minPickableCount is less than 1. |
Set the value of minPickableCount to the number greater than 1. |
BadParameter | The value of maxPickableCount value is greater than the 100. |
Set the value of maxPickableCount to 100 or less. |
BadParameter | The value of minPickableCount value is greater than the maxPickableCount value. |
Set the value of minPickableCount to the number that is equal to or less than maxPickableCount . |
Cancelled | User selects [Cancle] on the Friend picker. | - |
For the errors you encounter when you call the Friend picker using the iOS SDK, see Error related to picker in Android SDK. The error types and solutions are same in Android and iOS SDKs.