Hey Renato. Good timing, I just saw this error in our logs and fixed it.
The problem was that your message was too long by two characters. This length calculation includes the URL in your message. Our system was not correctly calculating the length when a custom URL was specified to return the correct error.
You should modify your message to be a little bit shorter, or use a URL shortener like bit.ly on the custom URL.
The “Delivered” status is technically correct. It just means that our system is done trying to send that message to all of the desired devices, whether they failed or not. With the new fix in place you’ll be shown an error message when the notification is too long before you get to the send page.
As a sidenote, this whole length issue will go away once iOS 8 is released. Apple will be doubling the max notification size even for devices not running iOS 8.
Yeah, there was a similar issue that you reported I think. This one actually cropped up due to an oversight I made when putting in the fix for the last one, and only affected messages with custom URLs.
Ok… the only problem is that I send the messages via REST API, so I will never go to the “send page”
I think that you using the status as “Delivered” is confusing since in the bottom of the image you have the statistics and there the “Delivered” is equal to 0. Maybe you wanna change one of these 2 names…
Hey Renato. Good timing, I just saw this error in our logs and fixed it.
The problem was that your message was too long by two characters. This length calculation includes the URL in your message. Our system was not correctly calculating the length when a custom URL was specified to return the correct error.
You should modify your message to be a little bit shorter, or use a URL shortener like bit.ly on the custom URL.
The “Delivered” status is technically correct. It just means that our system is done trying to send that message to all of the desired devices, whether they failed or not. With the new fix in place you’ll be shown an error message when the notification is too long before you get to the send page.
As a sidenote, this whole length issue will go away once iOS 8 is released. Apple will be doubling the max notification size even for devices not running iOS 8.
Yeah, there was a similar issue that you reported I think. This one actually cropped up due to an oversight I made when putting in the fix for the last one, and only affected messages with custom URLs.
Ok… the only problem is that I send the messages via REST API, so I will never go to the “send page”
I think that you using the status as “Delivered” is confusing since in the bottom of the image you have the statistics and there the “Delivered” is equal to 0. Maybe you wanna change one of these 2 names…