Firstly, we register the device with the request https://cp.pushwoosh.com/json/1.3/registerDevice: { "request": { "language": "en", "hwid": "73cec535-4ff1-4bac-96e2-d2c3bb9197cc", "application": "87052-FB104", "device_type": 1, "push_token": "....", "timezone": 0 } }.

Then we set the tags of the device with the request https://cp.pushwoosh.com/json/1.3/setTags: { "request": { "application": "87052-FB104", "hwid": "73cec535-4ff1-4bac-96e2-d2c3bb9197cc", "tags": {"profileid": "73cec535-4ff1-4bac-96e2-d2c3bb9197cc"} } }

But your server returns (200, '{"status_code":210,"status_message":"Device not found","response":null}') from time to time.

How long do you think we need to wait between setTags and registerDevice to ensure the setTags request always success?

asked 10 Feb '14, 09:11
hushi's gravatar image

hushi
12

edited 10 Feb '14, 09:13

Please note that "device not found" error may occur only when you call setTags, while registerDevice is still being processed. Generally, it is quite a rare case, since this error is always related to overloading of one of our servers (and, unfortunately, we had some delays during last week, partially related to Valentine's Day).

Please contact our support (http://www.pushwoosh.com/contact-us/) if the issue persists!

permanent link
answered 18 Feb '14, 10:44
Dmitry%20%20Dyudeev's gravatar image

Dmitry Dyudeev
3.7k7

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:

×76
×37
×5

question asked: 10 Feb '14, 09:11

question was seen: 1,774 times

last updated: 18 Feb '14, 10:44