Skip to content

Incorrect non-error response #2

@troykelly

Description

@troykelly

When creating a contact with an invalid email address - the API returns a success state, however this should be an error state.

Eg. Result is

{
  "result_code": 0,
  "result_message": "Contact Email Address is not valid.",
  "result_output": "json"
}

The response should be an error.

Use:

      activeCampaignApiHelper
        .subscribe({
          email: "invalidemail@3.4"
        }, {
          listIds: [2]
        })

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