{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/16302","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/16302/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/16302/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/16302/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/16302","id":367274253,"node_id":"MDU6SXNzdWUzNjcyNzQyNTM=","number":16302,"title":"Publish messages with a device with special characters","user":{"login":"richardasavie","id":42741989,"node_id":"MDQ6VXNlcjQyNzQxOTg5","avatar_url":"https://avatars2.githubusercontent.com/u/42741989?v=4","gravatar_id":"","url":"https://api.github.com/users/richardasavie","html_url":"https://github.com/richardasavie","followers_url":"https://api.github.com/users/richardasavie/followers","following_url":"https://api.github.com/users/richardasavie/following{/other_user}","gists_url":"https://api.github.com/users/richardasavie/gists{/gist_id}","starred_url":"https://api.github.com/users/richardasavie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardasavie/subscriptions","organizations_url":"https://api.github.com/users/richardasavie/orgs","repos_url":"https://api.github.com/users/richardasavie/repos","events_url":"https://api.github.com/users/richardasavie/events{/privacy}","received_events_url":"https://api.github.com/users/richardasavie/received_events","type":"User","site_admin":false},"labels":[{"id":836704823,"node_id":"MDU6TGFiZWw4MzY3MDQ4MjM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/assigned-to-author","name":"assigned-to-author","color":"e01f8f","default":false},{"id":836704904,"node_id":"MDU6TGFiZWw4MzY3MDQ5MDQ=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/doc-bug","name":"doc-bug","color":"84edbc","default":false},{"id":646545994,"node_id":"MDU6TGFiZWw2NDY1NDU5OTQ=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/iot-hub/svc","name":"iot-hub/svc","color":"009000","default":false},{"id":836702742,"node_id":"MDU6TGFiZWw4MzY3MDI3NDI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"dominicbetts","id":1454644,"node_id":"MDQ6VXNlcjE0NTQ2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1454644?v=4","gravatar_id":"","url":"https://api.github.com/users/dominicbetts","html_url":"https://github.com/dominicbetts","followers_url":"https://api.github.com/users/dominicbetts/followers","following_url":"https://api.github.com/users/dominicbetts/following{/other_user}","gists_url":"https://api.github.com/users/dominicbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbetts/subscriptions","organizations_url":"https://api.github.com/users/dominicbetts/orgs","repos_url":"https://api.github.com/users/dominicbetts/repos","events_url":"https://api.github.com/users/dominicbetts/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbetts/received_events","type":"User","site_admin":false},"assignees":[{"login":"dominicbetts","id":1454644,"node_id":"MDQ6VXNlcjE0NTQ2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1454644?v=4","gravatar_id":"","url":"https://api.github.com/users/dominicbetts","html_url":"https://github.com/dominicbetts","followers_url":"https://api.github.com/users/dominicbetts/followers","following_url":"https://api.github.com/users/dominicbetts/following{/other_user}","gists_url":"https://api.github.com/users/dominicbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbetts/subscriptions","organizations_url":"https://api.github.com/users/dominicbetts/orgs","repos_url":"https://api.github.com/users/dominicbetts/repos","events_url":"https://api.github.com/users/dominicbetts/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbetts/received_events","type":"User","site_admin":false},{"login":"sergaz-msft","id":22173500,"node_id":"MDQ6VXNlcjIyMTczNTAw","avatar_url":"https://avatars1.githubusercontent.com/u/22173500?v=4","gravatar_id":"","url":"https://api.github.com/users/sergaz-msft","html_url":"https://github.com/sergaz-msft","followers_url":"https://api.github.com/users/sergaz-msft/followers","following_url":"https://api.github.com/users/sergaz-msft/following{/other_user}","gists_url":"https://api.github.com/users/sergaz-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/sergaz-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergaz-msft/subscriptions","organizations_url":"https://api.github.com/users/sergaz-msft/orgs","repos_url":"https://api.github.com/users/sergaz-msft/repos","events_url":"https://api.github.com/users/sergaz-msft/events{/privacy}","received_events_url":"https://api.github.com/users/sergaz-msft/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-10-05T16:03:29Z","updated_at":"2018-10-15T10:33:03Z","closed_at":null,"author_association":"NONE","body":"Service I am having issues with:\r\nAzure IoT Hub\r\n\r\nProblem:\r\nWhen creating a device with special characters in its ID, eg: (+44)090809098 I can connect but can't send messages, to:\r\ndevices/(+44)090809098/messages/events/home-hello\r\n\r\nAt first I thought it was because of the encoding, but I've tried with:\r\ndevices/(%2B44)090809098/messages/events/home-hello\r\nand:\r\ndevices/%2B44%29090809098/messages/events/home-hello\r\n\r\nAccording to your docs is OK to create a device with a these characters: `- . + % _ # * ? ! ( ) , = @ $ '`, but when publishing to a topic with a + fails, I'd say is because + is a reserved character in MQTT.\r\n\r\nIoT Hub Device ID reference:\r\nhttps://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-identity-registry#device-identity-properties\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: 1e8b0b77-3c5d-5d9f-8f78-d750f5e620e5\r\n* Version Independent ID: c6eafb84-e897-5d29-f217-70de61273fea\r\n* Content: [Understand the Azure IoT Hub identity registry](https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-identity-registry#device-identity-properties)\r\n* Content Source: [articles/iot-hub/iot-hub-devguide-identity-registry.md](https://github.com/Microsoft/azure-docs/blob/master/articles/iot-hub/iot-hub-devguide-identity-registry.md)\r\n* Service: **iot-hub**\r\n* GitHub Login: @dominicbetts\r\n* Microsoft Alias: **dobett**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/429795528","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/16302#issuecomment-429795528","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/16302","id":429795528,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTc5NTUyOA==","user":{"login":"dominicbetts","id":1454644,"node_id":"MDQ6VXNlcjE0NTQ2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1454644?v=4","gravatar_id":"","url":"https://api.github.com/users/dominicbetts","html_url":"https://github.com/dominicbetts","followers_url":"https://api.github.com/users/dominicbetts/followers","following_url":"https://api.github.com/users/dominicbetts/following{/other_user}","gists_url":"https://api.github.com/users/dominicbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbetts/subscriptions","organizations_url":"https://api.github.com/users/dominicbetts/orgs","repos_url":"https://api.github.com/users/dominicbetts/repos","events_url":"https://api.github.com/users/dominicbetts/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbetts/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T10:33:03Z","updated_at":"2018-10-15T10:33:03Z","author_association":"CONTRIBUTOR","body":"Hi @richardasavie  - I've added a note to the docs about the special characters. Although they are supported by the IoT Hub service, they are not currently supported by the device SDKs."}}
{"actor":{"display_login":"dominicbetts"}}