2
1

Since today, I'm getting this exception when using android sdk:

[RequestManager]

x

| Pushwoosh request:

| Url: https://B65C1-67A8B.api.pushwoosh.com/json/1.3/getInApps

| Payload: {"request":{"v":"4.8.4","application":"53268-AB926","language":"es","hwid":"65d5d76e02c11164","device_type":3,"userId":"65d5d76e02c11164"}}

| Response: {"status_code":200,"status_message":"OK","response":{"inApps":{}}}

x

[RequestManager] getInApps response success

[RequestManager] ERROR: Value {} at inApps of type org.json.JSONObject cannot be converted to JSONArray. Response = {"response":{"inApps":{}},"status_code":200,"status_message":"OK"} org.json.JSONException: `

`Value {} at inApps of type org.json.JSONObject cannot be converted to JSONArray

at org.json.JSON.typeMismatch(JSON.java:100)

at org.json.JSONObject.getJSONArray(JSONObject.java:552)

at com.pushwoosh.inapp.a.parseResponse(Unknown Source)

at com.pushwoosh.internal.b.l.a(Unknown Source)

at com.pushwoosh.inapp.InAppRetrieverService.onHandleIntent(Unknown Source)

at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)

asked 18 Oct '16, 11:11
VictorDigio's gravatar image

VictorDigio
313

Hello, Victor.

According to the information I have at the moment, these issues should be already fixed.

Can you please check if this issue is still reproducible at the moment?

Regards, Nikita.

(20 Oct '16, 03:35) novchinnikov novchinnikov's gravatar image

Same here, with the response to a setTags call:

[RequestManager] ERROR: Value {} at skipped of type org.json.JSONObject cannot be converted to JSONArray. Response = {"response":{"skipped":{}},"status_code":200,"status_message":"OK"}
                                                                  org.json.JSONException: Value {} at skipped of type org.json.JSONObject cannot be converted to JSONArray
                                                                      at org.json.JSON.typeMismatch(JSON.java:100)
                                                                      at org.json.JSONObject.getJSONArray(JSONObject.java:553)
                                                                      at com.pushwoosh.internal.b.n.parseResponse(Unknown Source)
                                                                      at com.pushwoosh.internal.b.k.a(Unknown Source)
                                                                      at com.pushwoosh.internal.b.k$1.run(Unknown Source)
permanent link
answered 19 Oct '16, 08:40
Simca74's gravatar image

Simca74
113

Support has told me, that the issue was fixed in the meantime. And for my app, the issue seems to be fixed now.

permanent link
answered 19 Oct '16, 11:25
Simca74's gravatar image

Simca74
113

edited 19 Oct '16, 11:29

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:

×446
×91
×29

question asked: 18 Oct '16, 11:11

question was seen: 1,149 times

last updated: 20 Oct '16, 03:35