Start a new topic

Not able to import data to the console

Hi,


I am trying to import data to a custom collection made on the console.

Clicking on import button says uploading.

But it does not reflects in the collection table.


Please help me with it


Thanks



Is the data valid Json?


What happens when you click import?


What file type are you trying to upload?


Thanks,

Thanks Damien for replying.

I was able to solve the isuue, there was some problem with data format.


I am facing one more issue, i hope if you can help me with this,


I am trying to register my device for push notification.

I am using angular js and making a post call with following parameters:


{ "Authorization": "<APPID>",

  "data" : { "deviceId" : "81d2a1a994c36c84",

      "platform" : "android"

    },

  "headers" : { "Content-Type": "application/json"},

  "method" : "POST",

  "url" : "https://baas.kinvey.com/push/kid_WyB3Qm2kze/register-device"

}


and given is the reply:



POST /push/kid_WyB3Qm2kze/register-device

Authorization: Basic a2lkX1d5QjNRbTJremU6NGNlNDIyYjhmNmNkNGE5MGI5NzRlOTNmZDdkMjdjM2Y=
X-Kinvey-API-Version: 3
Content-Type: application/json

{ "Authorization": "dff253b755e8466ab4d3be7a059b2ee5",
  "data" : { "deviceId" : "81d2a1a994c36c84",
      "platform" : "android"
    },
  "headers" : {  "Content-Type": "application/json"},
  "method" : "POST",
  "url" : "https://baas.kinvey.com/push/kid_WyB3Qm2kze/register-device"
}
================

HTTP/1.1 400 
Thu Jul 02 2015 20:34:20 GMT+0530 (India Standard Time)
{
  "error": "IncompleteRequestBody",
  "description": "The request body is either missing or incomplete",
  "debug": "The request body must specify the device platform as either 'ios' or 'android'"
}



Can you help me in identifying what is wrong here?


Thanks

Maanik,


I'm going to handle this in the thread you opened for it.


Thanks,