Pinpoint opts out email endpoints, even if opt out is explicitly disabled

0

I'm adding email endpoints with the SDK for JavaScript v3 call below.

    await pinpoint.send(new UpdateEndpointCommand({
        ApplicationId: PINPOINT_APP_ID,
        EndpointId: email,
        EndpointRequest: {
            Address: email,
            ChannelType: 'EMAIL',
            OptOut: 'NONE',
            User: {
                UserAttributes: {
                    CognitoId: [cognitoId],
                    FirstName: [firstName ?? ''],
                    LastName: [lastName ?? '']
                }
            }
        }
    }))

I'm not running another endpoint update for this email later. I do run a PutEvent command later, tested with and without the OptOut: NONE field.

However in the segment, when I do an export, the endpoint is marked as OptOut: ALL. Why is that?

I previously didn't set the OptOut value but had the same result. The docs say it's optional, but don't specify a default. Might be good to add info on that.

1 Answer
0

Hello,

Thank you for reaching out to us.

To answer your question, we require details that are non-public information and we may need to troubleshoot based on your configurations. I would recommend you to please open a support case with AWS using the following link :

https://console.aws.amazon.com/support/home#/case/create

You can refer this documentation [+] for more information about creating support cases and case management.

[+] https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

Please do not post any sensitive information over re:Post since this is a public platform.

As always, feel free to reach back with any further questions or concerns in the meantime.

Thank you.

AWS
SUPPORT ENGINEER
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions