No configured device_types could be resolved from request

Hi,

All our push notifications have stopped working.

I've checked the service is configured and the certificate is valid.

This is the error I get from the Java client.

This is urgent, if anyone can help, it will be much appreciated.

Thanks

Scott

APIRequestException:
Message:Bad Request
HttpResponse:HTTP/1.1 400 Bad Request [Content-Type: application/vnd.urbanairship+json;version=3, Content-Length: 152, Date: Wed, 22 Feb 2017 12:42:28 GMT, Connection: close] org.apache.http.conn.BasicManagedEntity@61821c2b
Error:ok:false
APIError:Could not parse request body.
Code:Optional.of(40000)
Details:
APIErrorDetails:
Path:null
Error:No configured device_types could be resolved from request.
Optional Location:Optional.absent()
at com.urbanairship.api.client.APIRequestException$Builder.build(APIRequestException.java:139)
at com.urbanairship.api.client.APIRequestException.exceptionForResponse(APIRequestException.java:50)
at com.urbanairship.api.client.APIClientResponseHandler.handleResponse(APIClientResponseHandler.java:29)
at com.urbanairship.api.client.APIClientResponseHandler.handleResponse(APIClientResponseHandler.java:15)
at org.apache.http.client.fluent.Response.handleResponse(Response.java:85)
at com.urbanairship.api.client.APIClient.push(APIClient.java:224)

Didn't find what you were looking for?

New post

Comments

1 comment

  • Hi Scott,

    Could you post the payload of the request you received this error for?

    Thank you,

    Jenn

    0

Please sign in to leave a comment.