Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-3223

Rest API registry/device/importer fails silently on incorrect deviceTokens

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None

      When uploading a JSON file that does not contain a valid deviceToken for the variant platform, then the API endpoint returns "200 OK"

      eg uploading the following JSON-file to an Android variant:

      [
      {
      "deviceToken":"3cc8e0fb3d47c5a49b5a327e0199b95cf3affe9a54f728d8b4d0c72b27c464ed",
      "deviceType":"iPaaaaad",
      "operatingSystem":"iOS",
      "osVersion":"6.1.2",
      "alias":"3",
      "categories":["banana"]

      },{
      "deviceToken":"4cc8e0fb3d47c5a49b5a327e0199b95cf3affe9a54f728d8b4d0c72b27c464ed",
      "deviceType":"iFone",
      "operatingSystem":"iOS",
      "osVersion":"6.1.2",
      "alias":"4",
      "categories":["banana"]

      }
      ]

            Unassigned Unassigned
            tlnapp Tim Liljendahl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: