Skip to content

SendTransacSms not working with tags in v.1.1.1 #14

Description

@kimrohdin

When upgrading to newest version of brevo client, getting this when sending sms with tag:

brevo_csharp.Client.ApiException: 'Error calling SendTransacSms. StatusCode BadRequest: {"code":"invalid_parameter","message":"Invalid tag format"}

Before it was a string, now its using a class: new SendTransacSmsTag("previousString").

working in v.1.1.0

var sendSmtpEmail = new SendTransacSms(from, phoneNumber, text, SendTransacSms.TypeEnum.Transactional, tag);

not working in v.1.1.1

var sendSmtpEmail = new SendTransacSms(from, phoneNumber, text, SendTransacSms.TypeEnum.Transactional, SendTransacSmsTag(tag));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions