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개 답변
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
지원 엔지니어
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠