Im trying to register tags with setTags but it is not register it at pushwoosh? I have created a tag called "Grupper" as a listtag a pushwoosh.

This is what I have:

var data = {

"request": {
  "application": applicationId,
  "hwid": deviceId,

  "tags": {
        "Grupper": ["value1","value2"],

}; $.ajax({

         type: "POST",
         url: "",
         data: JSON.stringify(data),
         dataType: "json",
         error: function(data){
         myApp.alert("SKOLAPPEN Error",getStatusCode)
         success: function(data){
          myApp.alert('SKOLAPPEN', 'It is saved!');

So what´s wrong with "tags"... here? Thanks a lot!

asked 17 Mar '16, 14:13
Manmade's gravatar image


edited 17 Mar '16, 14:33

Hi again :)

Could you please also show a response you receive after you send a /setTags request?

Does it give you any error message? Maybe on of the status codes in response like here:

permanent link
answered 18 Mar '16, 04:56
Nikolai's gravatar image


The only response I get is in the success? I get no errors!? Im not sure how to get the status_code in the response? I don´t see it in the success?

(18 Mar '16, 11:32) Manmade Manmade's gravatar image

Also, as far as I can tell, there is an unneeded comma in your code here:

"Grupper": ["value1","value2"],

While it should be

"Grupper": ["value1","value2"]

Also, I assume that you specify applicationID and deviceID in quotes, like this:

"application": "applicationId", "hwid": "deviceId",

permanent link
answered 18 Mar '16, 05:21
Nikolai's gravatar image


edited 18 Mar '16, 05:22

Yes the comma was their by misstake. And yes they are strings.

(18 Mar '16, 11:33) Manmade Manmade's gravatar image
Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 17 Mar '16, 14:13

question was seen: 785 times

last updated: 18 Mar '16, 11:33