Hi,

We are sending a createmessage with 93 tokens. When we check the result we are finding that 52 are coming back as UnknownDevices.

Here's our input:

 'notifications' => [
     {
         'ios_root_params' => {
             'aps' => {
                  'content-available' => 1
            },
              'UserData' => 'NewDisruptionDataAvailable'
        },
     'devices' => [
'a047710ff0e814c5da9cec1a3c81ebbde7956c3178f6edb9dff76daa1494663d',
'72a07211cf80cdd56380749fa3df81b8aaa03b64f6969f2b1b625d3f1719fa5e',
'3223fe39890d1860c22bf23b8c558c46e2fa4880f498640605ebb2b3dff3ad94',
'634469641d869bff04844cd4149afcb75b20b211da7c663241db8277fd7987de',
'4cc0235327bcbd7a10c3b95c3a68ffa80e84ab34589e0811c96a211444041635',
'904620a534fbebcaf96f77c9430ac860ff233fa2e53dcb9c3daf4c89487bf4f2',
'5107a604993afa7b6a284aa600e37aef76ceddc96d4b638b341aa67b1f9e3dcd',
'1ad43b87b9b0c1bfcc6c50ec41930cfeae51c9fd59d51cd00b9693b1f5990939',
'dd3466bc9e93e655ed77fef64b3e093f698ac216c9acdb0cf55287db3548230d',
'8a2e29c89396e9b4538d9c56d150d74804f12ae326820ffb8fdd4e131a0e15e0',
'208dcc7f4f6c447508a963b2e8d63494484ddad6292bf806bd17e2e043bc420d',
'ffabb4d7f01b7e192cc0761b5df86aeec8eb89bc9d0449e979382864f1ad5072',
'0bbfe10248daad5bf6461e032454ed2737bead45210485ddf5eb4fd843cf386c',
'801420b940212597b658456cacae8c6a414f219a656fa045c0d56a4a42ffcc3f',
'a76a012abd6018643665015179846f480752a0f5e1e6851710186f6e6b494a1b',
'b9782007cd37ddff297340aa501b12971a380b58710bf2d79772a8761efa6c6e',
'7563a5532ee86aae92253eabd2e3e9aeee89f2f89c562364481c78fb458dbb54',
'688155475c9c8ecea74ad964b27ed00a319c8ae136e7de510923177b590dc1cb',
'0ffe8a9fb1ae854ed6a4ee7453c650fd1f6a44a0decc4c294d9203585a96771f',
'1dab746738b178ac39878b35584fd27ab0f60cf8cb32d631b8ef820dff65d915',
'76153f139fb5629d5f37599cd30a6d23c1840778d8b09f122fc03d467eaad72a',
'767e3e0698ee88d4dd9613477cfed4dcfb7ebf0f700476bfc3b8a02ff175e933',
'b02e6f21398b848612f5706b5074b934ce6da79efe3e65c2a508c2a4f104d5a4',
'e5f6ac8fe4945224b2fdb251bd696c5da7e00e171d4445091c898bdf6b3b37d3',
'f1c679f81f8f0b93d8e09b93864609191193bf4947453fbb18a93b9042cf8db9',
'8cd8ff0c3394411ec2ff313231a87dcfb7080826f782eef4e5007a000ecfc85c',
'34dc65bed18f99b85c24231307eda69ad68ba69967977d08e8297a6886e69e92',
'03126b69704e63c3c92496eab26789876834ed9e73fa0206d746b744f0fb8828',
'75b47f85671eedd7388f7e99eff1cec2e10ceb36fc65598b3a6874ea19431a94',
'f4abcef385b9cded1c43672b1eb16d3573891e8dd9ec741637ea6cf283744160',
'7be76a51548c9f4b19e4d47510acb4fe4c9c5132ac23f6544a30c4865fd867ce',
'8a3aefe19501b38d77074c6844e64fca310a7a84525bbfe429b3d6221e214f58',
'922eba2abca2fb8b9fc96af471c76379d79513b835408cf2b2786b0384a4c0ac',
'7f9f33a1e33a282144c63f997f4e3b478099665ca6b744641c812279bc9830ea',
'f957ca58df4a4530338abb59b8a5054436f08de124920601fcc6b68d35124496',
'0ea531a1fb28de1a95f8d52ab54055054d459db6816c38a80c12a5ea60222063',
'7a2a2bac5c525cc60ff26e6f2c1ece64126e5bef47256197f294ee40dc5212f0',
'f4535d021e2c53d3c66168a860bb49c54235b437ab0880bc49200045abd6ed58',
'ffd040f2b02f5b88fdcbb2bba12cca0d6e4203421beba14ae373e554efaf7d73',
'66ee146137d6e2a604b0ba0ab9926b1b581beb46206c158530abe6ea85801e26',
'37c8de4c8fa23017207eb27a4202e68fed624e3a4decc5e148b2c3ee36ba5abc',
'33120e52a4af7209245e05367c66cbf1a1f1359babc51e16a0a2fe31415daf06',
'e6f5ab6cec01d5a1060ecd46a961ee8ce87fb19ac3621c2610cc80dff135b0b1',
'fbd7c20a7a6907079e68b7d7e259ed6d77d5a96b4c52f381e5af12894ae29ada',
'fb983cd20fa07042f5afa5bd3396c6333dfd3e07e72ad34e8d657ac8b453bd0b',
'5eb75bb73dbcfbf50cdce33d640baf8886281237eb16445bbabb59120458b2c6',
'774d496a08b74035ca64128a35abd75d7c9465877331d28c1b1714946e67dcd8',
'11f787e37877c1dc5c35d59fec67b5905ef7b03029031a3a950140b77fe9874f',
'76880440706ff664c8722248057bfb41a33fef4241bb417106164df0fb10b3ad',
'2b9a44183d66514570d49bdecbfe72b7c8557997c81e6bb8746b280f7d38361f',
'dda05d5ca13b0520538503db884145c338230f7262598b197083dfa675709290',
'd63d4f3fba93d35ef4ccb6d72d5dba6e94db5feefae31aea0dd23adc681447a8',
'fcecf1cf9d1d5837a026be9f5657b7bc4410b5d7ec3d5fece871587b132f4d29',
'352f7562af36d45d78cf8e74a12c8b10ad6d7668fd475f5fb2bc7b1d11c4565e',
'55886cb755173a114be961b3a4e6bd0886167c46c47c1ae5059f6b9e7f23f4d8',
'885285600740da7a54e50f12aa52587d94add9a92db4a994872d5880e358cf0b',
'0f34d0fc5f039ac12d95faddd3a6a34e3ac1e98b40ca3eb0eebcb87f2cde17b9',
'64164a528fcd9e7c42d5820d63ca190b6aa384fc5cb39e83a48880735cf9303b',
'cbee90ff01081daeadb074b1e4610289af442f1932292540a28b0ece8432395d',
'8f348a9f532c0ca9fb54750ad88d40b27b6107a485692731f489d1ae0ce6cdd1',
'654a6c25ad22f4da9c334da4b9bc3971c5de1e090cbd6ad57e6c29510ed5eab9',
'7e60484babcb9e986bb13961bbe5bd3f542b1951a54212d802acad713e00ea52',
'7028af88944f780467a961e547a683bbc6283703121580cd6794d0562d715aa8',
'b4cb877543254c14c28969281959a5974897b2b58977e7f3b590ba10908cb13a',
'a5153747b9d08ac2625b0b472cdba627c0c02a8d9ad564e440e1747671bbdfea',
'2ca0b9b7f0e3ad24c117a03fae985901492d943e9b6677b0a1a0d3e23b3d4889',
'8a3887d8aee19f006fd1d1bfadbe25ad0cb6feb3e609eb5bcbba9afac446d311',
'0245a588b4af5a8b32c7a28b890203b1f0814ab97da6b3366a6c2afa36c9d40d',
'817381096a63db8d27e7cde1a7f5b5c797b39e7f40a68bfcaafd600b465f8437',
'705054cd7849f656bed99ed4a9d5d70a2d0e5afbccbb71b63ba09c233261c593',
'b2a6c4c32a2c2b4e53b642e1f7ef9a4289bda10b89042918d01d03d362b03ddb',
'fcb9c1cfd43e4f74600ecdd8fbc9fafd85428128d7247ca3ff6f7b549f1f8b60',
'581d321895123810de997e4034f6183debc7b3fddac74867dcd1677394de258a',
'9959f62570a37911b8252247544f30be69356070a385c836722d34b3a4fd50cf',
'69918f2f7bf3741603d49fd2d087f36df5d50cb80be0bdbde3723876fbb163b6',
'15020132bcd9787756dc2eabe9518c56d06922e60da738b284c864b91e0a5330',
'7dcc043e4e2a8389d08b6388d4ef2b336e32e6213c38e19266ebd1bf07a0bbb4',
'4cca16de85b5c875808e65f8f8f2711b4f8ba65d5961f344c12ad9ce3de5cdb5',
'1c827fa955b70d6c2960d8e45017edbc3beda86c3ec6016c48160b4b2800ab7c',
'0f91990cc328571741494ab05f6a4fde8ddb92aa24e8107befab1f575baa881c',
'0047dcbf1dabe01ff47330caf5ad36059c2e7d97f67bed3d6e4f1c668ab577a0',
'ec5fa7248867c6f95ddf8a80cf2041fa4ffb9ec2cd2fa2002b4f04a9491b324b',
'640503c8ba0f5629498c9d6b08d0d77126f63c64efad04d8b6541471d148d1e6',
'a1c6eea7a95d79a6d3aecabe3fbb2dcd77efefdeecf7e730cd0291e5acc637e4',
'01d0167e8a67f1a5f8dbe833b50e26508c354b34d28f25b576a022a6b864d213',
'59dd6f76c7430af8f649b15bf50e31b4edb9e2f5f26a41dc39e819525355bb16',
'b7e8607d86e5a141696c827ccb81dd1500192a1067cc81c7f9b920e7c5f471a0',
'20026cb6caa42ff4e297182bd1aeb9e48005fa6216ec007c247de4a57c2de030',
'd21892a14714c47c49e1f7299602eceb5f1067f6ea4fabe9e0d213a583da831e',
'3cef3d742a89f63e5ad05eef40fd683d72d57478ffbd1f387f4e80f389308a22',
'65894c45c9bda5ae98da87b0b97b4ff6306ff40cc06ac3094174f1f1ea488d42',
'1f0dee8ff3a45e9610d17f2aba07e2df5656d3f67cb233b0fb9674a7b40d7525'
                                                     ],
                                        'send_date' => 'now',
                                        'ios_sound' => '',
                                        'ios_ttl' => 600
                                      }
                                    ],
                 'auth' => '<<REDACTED>>',
                 'application' => '<< REDACTED>>'
               }
    }

We get back a message saying its been delivered with 52 unknown devices. From reading this forum and others, it seems that these are devices that have deleted the app or whatever.

{
  "status_code": 200,
  "status_message": "OK",
  "response": {
    "Messages": [
      "16DF-E5DEFAC7-929395E2"
    ],
    "UnknownDevices": {
      "16DF-E5DEFAC7-929395E2": [
        "3223fe39890d1860c22bf23b8c558c46e2fa4880f498640605ebb2b3dff3ad94",
        "634469641d869bff04844cd4149afcb75b20b211da7c663241db8277fd7987de",
        "4cc0235327bcbd7a10c3b95c3a68ffa80e84ab34589e0811c96a211444041635",
        "904620a534fbebcaf96f77c9430ac860ff233fa2e53dcb9c3daf4c89487bf4f2",
        "1ad43b87b9b0c1bfcc6c50ec41930cfeae51c9fd59d51cd00b9693b1f5990939",
        "dd3466bc9e93e655ed77fef64b3e093f698ac216c9acdb0cf55287db3548230d",
        "208dcc7f4f6c447508a963b2e8d63494484ddad6292bf806bd17e2e043bc420d",
        "ffabb4d7f01b7e192cc0761b5df86aeec8eb89bc9d0449e979382864f1ad5072",
        "b9782007cd37ddff297340aa501b12971a380b58710bf2d79772a8761efa6c6e",
        "7563a5532ee86aae92253eabd2e3e9aeee89f2f89c562364481c78fb458dbb54",
        "0ffe8a9fb1ae854ed6a4ee7453c650fd1f6a44a0decc4c294d9203585a96771f",
        "1dab746738b178ac39878b35584fd27ab0f60cf8cb32d631b8ef820dff65d915",
        "76153f139fb5629d5f37599cd30a6d23c1840778d8b09f122fc03d467eaad72a",
        "767e3e0698ee88d4dd9613477cfed4dcfb7ebf0f700476bfc3b8a02ff175e933",
        "b02e6f21398b848612f5706b5074b934ce6da79efe3e65c2a508c2a4f104d5a4",
        "e5f6ac8fe4945224b2fdb251bd696c5da7e00e171d4445091c898bdf6b3b37d3",
        "f1c679f81f8f0b93d8e09b93864609191193bf4947453fbb18a93b9042cf8db9",
        "34dc65bed18f99b85c24231307eda69ad68ba69967977d08e8297a6886e69e92",
        "03126b69704e63c3c92496eab26789876834ed9e73fa0206d746b744f0fb8828",
        "75b47f85671eedd7388f7e99eff1cec2e10ceb36fc65598b3a6874ea19431a94",
        "f957ca58df4a4530338abb59b8a5054436f08de124920601fcc6b68d35124496",
        "0ea531a1fb28de1a95f8d52ab54055054d459db6816c38a80c12a5ea60222063",
        "7a2a2bac5c525cc60ff26e6f2c1ece64126e5bef47256197f294ee40dc5212f0",
        "f4535d021e2c53d3c66168a860bb49c54235b437ab0880bc49200045abd6ed58",
        "37c8de4c8fa23017207eb27a4202e68fed624e3a4decc5e148b2c3ee36ba5abc",
        "fbd7c20a7a6907079e68b7d7e259ed6d77d5a96b4c52f381e5af12894ae29ada",
        "fb983cd20fa07042f5afa5bd3396c6333dfd3e07e72ad34e8d657ac8b453bd0b",
        "76880440706ff664c8722248057bfb41a33fef4241bb417106164df0fb10b3ad",
        "55886cb755173a114be961b3a4e6bd0886167c46c47c1ae5059f6b9e7f23f4d8",
        "885285600740da7a54e50f12aa52587d94add9a92db4a994872d5880e358cf0b",
        "0f34d0fc5f039ac12d95faddd3a6a34e3ac1e98b40ca3eb0eebcb87f2cde17b9",
        "64164a528fcd9e7c42d5820d63ca190b6aa384fc5cb39e83a48880735cf9303b",
        "cbee90ff01081daeadb074b1e4610289af442f1932292540a28b0ece8432395d",
        "654a6c25ad22f4da9c334da4b9bc3971c5de1e090cbd6ad57e6c29510ed5eab9",
        "7e60484babcb9e986bb13961bbe5bd3f542b1951a54212d802acad713e00ea52",
        "7028af88944f780467a961e547a683bbc6283703121580cd6794d0562d715aa8",
        "b4cb877543254c14c28969281959a5974897b2b58977e7f3b590ba10908cb13a",
        "a5153747b9d08ac2625b0b472cdba627c0c02a8d9ad564e440e1747671bbdfea",
        "8a3887d8aee19f006fd1d1bfadbe25ad0cb6feb3e609eb5bcbba9afac446d311",
        "0245a588b4af5a8b32c7a28b890203b1f0814ab97da6b3366a6c2afa36c9d40d",
        "705054cd7849f656bed99ed4a9d5d70a2d0e5afbccbb71b63ba09c233261c593",
        "581d321895123810de997e4034f6183debc7b3fddac74867dcd1677394de258a",
        "69918f2f7bf3741603d49fd2d087f36df5d50cb80be0bdbde3723876fbb163b6",
        "15020132bcd9787756dc2eabe9518c56d06922e60da738b284c864b91e0a5330",
        "4cca16de85b5c875808e65f8f8f2711b4f8ba65d5961f344c12ad9ce3de5cdb5",
        "0f91990cc328571741494ab05f6a4fde8ddb92aa24e8107befab1f575baa881c",
        "640503c8ba0f5629498c9d6b08d0d77126f63c64efad04d8b6541471d148d1e6",
        "01d0167e8a67f1a5f8dbe833b50e26508c354b34d28f25b576a022a6b864d213",
        "59dd6f76c7430af8f649b15bf50e31b4edb9e2f5f26a41dc39e819525355bb16",
        "20026cb6caa42ff4e297182bd1aeb9e48005fa6216ec007c247de4a57c2de030",
        "65894c45c9bda5ae98da87b0b97b4ff6306ff40cc06ac3094174f1f1ea488d42",
        "1f0dee8ff3a45e9610d17f2aba07e2df5656d3f67cb233b0fb9674a7b40d7525"
      ]
    }
  }
}

Our working assumption is that we should invalidate these in our database so that we don't send them. Is that the accepted wisdom? There is also a reference to getUnregisteredDevices which we cannot find documented anywhere.

Where would we find this please?

Thanks

Rob

asked 02 May, 08:16
rwillett's gravatar image

rwillett
2015

Hi, Rob!

I have addressed your question in the support ticket you submitted.

Regards, Ivan.

permanent link
answered 03 May, 10:25
idedov's gravatar image

idedov
2263

Yes you did

thanks.

Rob

permanent link
answered 03 May, 10:48
rwillett's gravatar image

rwillett
2015

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×395
×300
×17

question asked: 02 May, 08:16

question was seen: 171 times

last updated: 03 May, 10:48