messageContact route fails when multiple mobile numbers are tied to the same subscriberkey
Trailblazer Community

messageContact route fails when multiple mobile numbers are tied to the same subscriberkey

Marketing Cloud API , Marketing Cloud Mobile

Last updated 2020-01-07 ·Reference W-6983112 ·Reported By 0 users

Fixed in version Marketing Cloud October 2019 Release Patch 10

Summary
The messageContact route fails to send when multiple mobile numbers are tied to the same subscriber key and subscriberkey is not passed in the payload.

Repro
-Create fresh account with no subscribers, or delete all previous MobileConnect subs
-Create a contact in MobileConnect - ABC123,US,15555555555 (replace with whatever values makes sense for your account)
-Create second contact in MobileConnect - DEF456,US,17777777777 (replace with whatever values makes sense for your account)
-Create an Outbound API message and obtain the API Key
-Run the below call using the API Key and note it sends

POST /sms/v1/messageContact/Mjg6Nzg6MA/send

{
"mobileNumbers": ["15555555555","17777777777"],
"Subscribe": true,
"Resubscribe": true,
"keyword": "KEYWORD"
}

-Go to ABC123 and add 17777777777 to this contact
-Run the call again and note it works
-Go to DEF456 and add 15555555555
-Run the call and note no message is sent

Workaround
Specify Subscriberkey as noted in the example below.

https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/postMessageContactSend.htm

Reported By (0)

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.