question

QixiangChen-3093 avatar image
0 Votes"
QixiangChen-3093 asked ryanchill answered

Call Apple Notification and return error 404: No service is hosted at the specified address

Hi, I call Apple Notification, and I use the jar the official site support, but it return the error 404, and return a XML response that No service is hosted at the specified address, and I debug the params and sure that the params is follows https://docs.microsoft.com/en-us/previous-versions/azure/reference/dn223266(v=azure.100)
it means that I use a error hubPath, but I checked with my team, they said the hubPath is right, please help, thanks a lot!



azure-notification-hubs
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
1 Vote"
ryanchill answered

@QixiangChen-3093 is your namespace and hub named differently?

E.g. https://myapphub-ns.servicebus.windows.net/myapphub/messages/?api-version=2015-01




· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks ryanchill, I had checked again, the hubpath is wrong. I right it and it can send the notification now, thanks a lot!

0 Votes 0 ·