Skip to content

Commit fe9da5c

Browse files
github-actions[bot]github-actions
andauthored
Add new errorCode 4 of NarrowcastProgressResponse (#1519)
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 b22e55e commit fe9da5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clients/line-bot-messaging-api-client/src/main/java/com/linecorp/bot/messaging/model/NarrowcastProgressResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ public record NarrowcastProgressResponse(
6161
* Error summary. This is only included with a phase property value of failed. One of:
6262
* &#x60;1&#x60;: An internal error occurred. &#x60;2&#x60;: An error occurred because there
6363
* weren&#39;t enough recipients. &#x60;3&#x60;: A conflict error of requests occurs because a
64-
* request that has already been accepted is retried.
64+
* request that has already been accepted is retried. &#x60;4&#x60;: An audience of less than 50
65+
* recipients is included as a condition of sending.
6566
*/
6667
@JsonProperty("errorCode") Long errorCode,
6768
/**

0 commit comments

Comments
 (0)