Skip to content

Field value length must be less than or equal to 1024 #47

@NockyCZ

Description

@NockyCZ

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.ArgumentException: Field value length must be less than or equal to 1024. (Parameter 'Value')
at Discord.EmbedFieldBuilder.set_Value(Object value)
at Discord.EmbedBuilder.AddField(String name, Object value, Boolean inline)
at DiscordUtilities.DiscordUtilities.GetEmbedBuilder(Builder embedBuilder) in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\Discord Utilities\src\DiscordUtilities\Functions\Helpers.cs:line 241
at DiscordUtilities.DiscordUtilities.SendMessageToChannel(UInt64 channelId, String content, Builder embed, Builder components) in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\Discord Utilities\src\DiscordUtilities\API\Actions.cs:line 116
at EventNotifications.EventNotifications.PerformMatchEnd() in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\Discord Utilities\src\Addons\EventNotifications\EventNotifications.cs:line 196
at EventNotifications.EventNotifications.OnMatchEnd(EventCsWinPanelMatch event, GameEventInfo info) in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\Discord Utilities\src\Addons\EventNotifications\EventNotifications.cs:line 257
at InvokeStub_GameEventHandler1.Invoke(Object, Span1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions