Skip to content

Commit 59840be

Browse files
github-actions[bot]github-actions
andauthored
Add new errorCode 4 of NarrowcastProgressResponse (#522)
A new errorCode has been added to NarrowcastProgressResponse. New number is 4. 4 means an audience of less than 50 recipients is included as a condition of sending. Previously, it was not possible to determine whether an error occurred due to a lack of enough recipients or because an audience of less than 50 recipients is included as a condition of sending. This will be fixed with the update to the Messaging API, so the description of errorCode on OpenAPI will also be revised. Co-authored-by: github-actions <github-actions@github.com>
1 parent b24998a commit 59840be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linebot/messaging_api/model_narrowcast_progress_response.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type NarrowcastProgressResponse struct {
5454
FailedDescription string `json:"failedDescription,omitempty"`
5555

5656
/**
57-
* Error summary. This is only included with a phase property value of failed. One of: `1`: An internal error occurred. `2`: An error occurred because there weren&#39;t enough recipients. `3`: A conflict error of requests occurs because a request that has already been accepted is retried.
57+
* Error summary. This is only included with a phase property value of failed. One of: `1`: An internal error occurred. `2`: An error occurred because there weren&#39;t enough recipients. `3`: A conflict error of requests occurs because a request that has already been accepted is retried. `4`: An audience of less than 50 recipients is included as a condition of sending.
5858
*/
5959
ErrorCode int64 `json:"errorCode"`
6060

0 commit comments

Comments
 (0)