Skip to content

Commit 6cfea62

Browse files
Merge pull request #54 from socketlabs/usr/john-quimbo/ss-3033
api update
2 parents b148e45 + 9e48065 commit 6cfea62

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/SocketLabs/InjectionApi/SendResponse.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ public string ResponseMessage
100100
case SendResult.InvalidTemplateId:
101101
return "An invalid TemplateId was found in the message";
102102

103+
case SendResult.MetadataOrTagsAreTooLarge:
104+
return "Metadata and tags exceed 12.5KB";
105+
103106
case SendResult.TemplateHasNoContent:
104107
return "The specified TemplateId has no content for the message";
105108

src/SocketLabs/InjectionApi/SendResult.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,5 +194,7 @@ public enum SendResult
194194
/// Invalid metadata found
195195
/// </summary>
196196
MessageValidationInvalidMetadata,
197+
/** Metadata and tags exceed 12.5KB */
198+
MetadataOrTagsAreTooLarge
197199
}
198200
}

0 commit comments

Comments
 (0)