(solved) "Error queuing your notification"

I am getting the following error when trying to send a message (via Rest API) to iOS users:

{"errors":["Error queuing your notification."]}

What does that mean?

Here is my request:

{ "app\_id":"69018ade-xxxx-xxxx-xxx-dfac323ef79b","isIos":true, "contents":{"en":"Marrap\u00e1, de acordo com o nosso regulamento, sua foto n\u00e3o foi aprovada. Tire outro selfie e envie para a gente denovo, ok? :)"}, "include\_player\_ids":["78c014b8-xxxx-xxxx-xxxx-db53ccca0d30"], "url":"http:\/\/www.mywebsite\_removed.com", "isAndroid":false }

When making the request for Android devices, it works fine.

UPDATE: Ran some tests and I found out that if my message has more than 118 chars when trying to send the message to iOS devices, I receive that that error.  For Android, it works fine.

Hey Renato. Sorry for the delay. Glad you were able to figure it out. I’ll take a look at why the error message wasn’t more clear.

iOS has a pretty small limit on the number of characters that can be in a notification, and that includes characters in extra data like your website url. You may be able to squeeze a little more in by using a URL shortener like http://bit.ly

This should return a better error message now.

Humm. Interesting to know that characters inside the extra data also counts towards the limit.

Thanks for the update george.

Hey Renato. Sorry for the delay. Glad you were able to figure it out. I’ll take a look at why the error message wasn’t more clear.

iOS has a pretty small limit on the number of characters that can be in a notification, and that includes characters in extra data like your website url. You may be able to squeeze a little more in by using a URL shortener like http://bit.ly

This should return a better error message now.

Humm. Interesting to know that characters inside the extra data also counts towards the limit.

Thanks for the update george.