Nicholas Fritsche
Nicholas Fritsche

Reputation: 5

Azure Apple Push Notification Error: 400 Bad Request

Azure Apple Push Notification is giving me the following error. This was working as of a couple of weeks ago. I thought it might be my application, but I used the default template used in Azure "Test Send" and got the same thing. Anyone else experiencing this?

"Failed to send test message. Error:

{"readyState":4,"responseText":"{\"error\":{\"message\":\"Bad Request\",\"code\":\"BadRequest\"}}","responseJSON":{"error":{"message":"Bad Request","code":"BadRequest"}},"status":400,"statusText":"Bad Request"}.

Upvotes: 0

Views: 2009

Answers (1)

Tom Sun
Tom Sun

Reputation: 24569

This was working as of a couple of weeks ago. I thought it might be my application, but I used the default template used in Azure "Test Send" and got the same thing. Anyone else experiencing this?

According to your description, I assume that it may be caused by the validation of your certificate. I recommend you createing a new Apple Push Notification Client SSL Certificate, more details you could refer to this.

About how to Configure and run the iOS project, please refer to the Azure official document.

Upvotes: 3

Related Questions