How to troubleshoot PnsErrorDetailsUri missing issue in Notification Hub telemetry API

Published Feb 01 2022 09:32 PM 983 Views
Microsoft

As suggested in the official document, we could use Get Notification Message telemetry REST API when we have issue/failure with pushing notifications in the Azure Notification Hub. We can use this API to review and monitor the pushed notifications. There is one prominent property named PnsErrorDetailsUri for our troubleshooting which indicates the details of error reported by PNS. However, the PnsErrorDetailsUri might not be found in the response payload sometimes when we use SDK which blocks our investigation. This article provides some troubleshooting threads to narrow down why we can’t invoke Telemetry API successfully or get PnsErrorDetailsUri property while invoking this API.

 

Troubleshooting Steps:

1.Please check the pricing tier of your Notification Hub firstly. The telemetry API is only available for Standard tier Notification Hub.

 

2.If no errors were reported by a PNS, the PnsErrorDetailsUri property will not be included in the response payload. Please kindly refer to multiple common errors and possible reasons of this API.

 

3.Generally, state of message progress could be following values:

Jay_Gong_0-1643614789247.png

 

 

If there is any issue while publishing notifications, PNS error details can be found from PnsErrorDetailsUri property after the associated send operation is complete. Please verify if the status tag is Completed in the response payload. The PnsErrorDetailsUri won’t show up when the message is in other statuses.

 

<NotificationDetails xmlns=http://schemas.microsoft.com/netservices/2010/10/servicebus/connect xmlns:i=http://www.w3.org/2001/XMLSchema-instance>

  <NotificationId>{Your message id}</NotificationId>

  <Location>sb://{Your namespace}.servicebus.windows.net/{your hub name}/messages/{your message id}?api-version=2015-04</Location>

  <State>Completed</State>

  <EnqueueTime>2015-11-02T21:19:43Z</EnqueueTime>

  <StartTime>2015-11-02T21:19:43.9926996Z</StartTime>

  <EndTime>2015-11-02T21:19:43.9926996Z</EndTime>

  <NotificationBody>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;toast&gt;&lt;visual&gt;&lt;binding template="ToastText01"&gt;&lt;text id="1"&gt;Hello from a .NET App!&lt;/text&gt;&lt;/binding&gt;&lt;/visual&gt;&lt;/toast&gt;</NotificationBody>

  <TargetPlatforms>windows</TargetPlatforms>

  <WnsOutcomeCounts>

    <Outcome>

      <Name>Success</Name>

      <Count>3</Count>

    </Outcome>

    <Outcome>

      <Name>WrongToken</Name>

      <Count>1</Count>

    </Outcome>

  </WnsOutcomeCounts>

  <PnsErrorDetailsUri>{Blob uri}</PnsErrorDetailsUri>

</NotificationDetails>

 

4.If the PnsErrorDetailsUri value could not be found in the response payload after ruling out above possibilities, please kindly refer to following considerations:

 

A. While calling REST API directly, please make sure you are setting API version as 2016-07 and above because the PnsErrorDetailsUri requires Api-Version 2016-07 at least.

Jay_Gong_1-1643614789253.png

 

B.While calling REST API via SDK, the underlying request may not follow API pattern. For example, we are using historical version 1.0.3 of Microsoft.Azure.NotificationHubs package, there isn’t particular parameter of API version can be passed easily probably. 

Jay_Gong_2-1643614789258.png

 

You could capture the details of testing request by Fiddler tool or other web debugging proxy server tool so that you could decrypt the https request data and verify the specific API version which is used in SDK method by default.  Please kindly enable the HTTPs capture feature by the following options(Tools --- Options)

 

Jay_Gong_3-1643614789260.png

 

Jay_Gong_4-1643614789264.png

 

 

Once the pushing message is triggered, we could check the used API version in the detailed raw data of specific request. As shown below, 2015-04 is used so that we could not get the PnsErrorDetailsUri property successfully.

 

Jay_Gong_5-1643614789269.png

 

After upgrading the latest SDK version to 4.1.0, the underlying invoked API version is upgraded as well.

 

Jay_Gong_6-1643614789272.png

 

Jay_Gong_7-1643614789293.png

 

Once we get the value of PnsErrorDetailsUri, we could use the Azure Storage API to read the blob.

%3CP%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COUTCOME%3E%3C%2FOUTCOME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNAME%3EWrongToken%3C%2FNAME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CCOUNT%3E1%3C%2FCOUNT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CPNSERRORDETAILSURI%3E%3CSTRONG%3E%7BBlob%20uri%7D%3C%2FSTRONG%3E%3C%2FPNSERRORDETAILSURI%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4.If%20the%20PnsErrorDetailsUri%20value%20could%20not%20be%20found%20in%20the%20response%20payload%20after%20ruling%20out%20above%20possibilities%2C%20please%20kindly%20refer%20to%20following%20considerations%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA.%20While%20calling%20REST%20API%20directly%2C%20please%20make%20sure%20you%20are%20setting%20API%20version%20as%202016-07%20and%20above%20because%20the%20PnsErrorDetailsUri%20requires%20Api-Version%202016-07%20at%20least.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_1-1643614789253.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343835i11C26FC2EA01A84F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_1-1643614789253.png%22%20alt%3D%22Jay_Gong_1-1643614789253.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EB.While%20calling%20REST%20API%20via%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fnotification-hubs%2Fnotification-hubs-sdks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESDK%3C%2FA%3E%2C%20the%20underlying%20request%20may%20not%20follow%20API%20pattern.%20For%20example%2C%20we%20are%20using%20historical%20version%20%3CSTRONG%3E1.0.3%3C%2FSTRONG%3E%20of%20Microsoft.Azure.NotificationHubs%20package%2C%20there%20isn%E2%80%99t%20particular%20parameter%20of%20API%20version%20can%20be%20passed%20easily%20probably.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_2-1643614789258.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343836iADF1CAA6CCFCC265%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_2-1643614789258.png%22%20alt%3D%22Jay_Gong_2-1643614789258.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20could%20capture%20the%20details%20of%20testing%20request%20by%20%3CA%20href%3D%22https%3A%2F%2Fwww.telerik.com%2Ffiddler%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EFiddler%20tool%3C%2FA%3E%20or%20other%20web%20debugging%20proxy%20server%20tool%20so%20that%20you%20could%20decrypt%20the%20https%20request%20data%20and%20verify%20the%20specific%20API%20version%20which%20is%20used%20in%20SDK%20method%20by%20default.%26nbsp%3B%20Please%20kindly%20enable%20the%20HTTPs%20capture%20feature%20by%20the%20following%20options(Tools%20---%20Options)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_3-1643614789260.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343837i49B31823B8B434AA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_3-1643614789260.png%22%20alt%3D%22Jay_Gong_3-1643614789260.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_4-1643614789264.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343838i8A200042FD99492B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_4-1643614789264.png%22%20alt%3D%22Jay_Gong_4-1643614789264.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20pushing%20message%20is%20triggered%2C%20we%20could%20check%20the%20used%20API%20version%20in%20the%20detailed%20raw%20data%20of%20specific%20request.%20As%20shown%20below%2C%202015-04%20is%20used%20so%20that%20we%20could%20not%20get%20the%20PnsErrorDetailsUri%20property%20successfully.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_5-1643614789269.png%22%20style%3D%22width%3A%20436px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343839iCBC12E4FF8539325%2Fimage-dimensions%2F436x73%3Fv%3Dv2%22%20width%3D%22436%22%20height%3D%2273%22%20role%3D%22button%22%20title%3D%22Jay_Gong_5-1643614789269.png%22%20alt%3D%22Jay_Gong_5-1643614789269.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20upgrading%20the%20latest%20SDK%20version%20to%20%3CSTRONG%3E4.1.0%3C%2FSTRONG%3E%2C%20the%20underlying%20invoked%20API%20version%20is%20upgraded%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_6-1643614789272.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343840iE6564CE99B60CA50%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_6-1643614789272.png%22%20alt%3D%22Jay_Gong_6-1643614789272.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_7-1643614789293.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343841iD5AF07C43AEEB339%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_7-1643614789293.png%22%20alt%3D%22Jay_Gong_7-1643614789293.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20we%20get%20the%20value%20of%20PnsErrorDetailsUri%2C%20we%20could%20use%20the%20Azure%20Storage%20API%20to%20read%20the%20blob.%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COUTCOME%3E%3C%2FOUTCOME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNAME%3EWrongToken%3C%2FNAME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CCOUNT%3E1%3C%2FCOUNT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CPNSERRORDETAILSURI%3E%3CSTRONG%3E%7BBlob%20uri%7D%3C%2FSTRONG%3E%3C%2FPNSERRORDETAILSURI%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4.If%20the%20PnsErrorDetailsUri%20value%20could%20not%20be%20found%20in%20the%20response%20payload%20after%20ruling%20out%20above%20possibilities%2C%20please%20kindly%20refer%20to%20following%20considerations%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA.%20While%20calling%20REST%20API%20directly%2C%20please%20make%20sure%20you%20are%20setting%20API%20version%20as%202016-07%20and%20above%20because%20the%20PnsErrorDetailsUri%20requires%20Api-Version%202016-07%20at%20least.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_1-1643614789253.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343835i11C26FC2EA01A84F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_1-1643614789253.png%22%20alt%3D%22Jay_Gong_1-1643614789253.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EB.While%20calling%20REST%20API%20via%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fnotification-hubs%2Fnotification-hubs-sdks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESDK%3C%2FA%3E%2C%20the%20underlying%20request%20may%20not%20follow%20API%20pattern.%20For%20example%2C%20we%20are%20using%20historical%20version%20%3CSTRONG%3E1.0.3%3C%2FSTRONG%3E%20of%20Microsoft.Azure.NotificationHubs%20package%2C%20there%20isn%E2%80%99t%20particular%20parameter%20of%20API%20version%20can%20be%20passed%20easily%20probably.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_2-1643614789258.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343836iADF1CAA6CCFCC265%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_2-1643614789258.png%22%20alt%3D%22Jay_Gong_2-1643614789258.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20could%20capture%20the%20details%20of%20testing%20request%20by%20%3CA%20href%3D%22https%3A%2F%2Fwww.telerik.com%2Ffiddler%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EFiddler%20tool%3C%2FA%3E%20or%20other%20web%20debugging%20proxy%20server%20tool%20so%20that%20you%20could%20decrypt%20the%20https%20request%20data%20and%20verify%20the%20specific%20API%20version%20which%20is%20used%20in%20SDK%20method%20by%20default.%26nbsp%3B%20Please%20kindly%20enable%20the%20HTTPs%20capture%20feature%20by%20the%20following%20options(Tools%20---%20Options)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_3-1643614789260.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343837i49B31823B8B434AA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_3-1643614789260.png%22%20alt%3D%22Jay_Gong_3-1643614789260.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_4-1643614789264.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343838i8A200042FD99492B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_4-1643614789264.png%22%20alt%3D%22Jay_Gong_4-1643614789264.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20pushing%20message%20is%20triggered%2C%20we%20could%20check%20the%20used%20API%20version%20in%20the%20detailed%20raw%20data%20of%20specific%20request.%20As%20shown%20below%2C%202015-04%20is%20used%20so%20that%20we%20could%20not%20get%20the%20PnsErrorDetailsUri%20property%20successfully.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_5-1643614789269.png%22%20style%3D%22width%3A%20436px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343839iCBC12E4FF8539325%2Fimage-dimensions%2F436x73%3Fv%3Dv2%22%20width%3D%22436%22%20height%3D%2273%22%20role%3D%22button%22%20title%3D%22Jay_Gong_5-1643614789269.png%22%20alt%3D%22Jay_Gong_5-1643614789269.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20upgrading%20the%20latest%20SDK%20version%20to%20%3CSTRONG%3E4.1.0%3C%2FSTRONG%3E%2C%20the%20underlying%20invoked%20API%20version%20is%20upgraded%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_6-1643614789272.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343840iE6564CE99B60CA50%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_6-1643614789272.png%22%20alt%3D%22Jay_Gong_6-1643614789272.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_7-1643614789293.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343841iD5AF07C43AEEB339%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_7-1643614789293.png%22%20alt%3D%22Jay_Gong_7-1643614789293.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20we%20get%20the%20value%20of%20PnsErrorDetailsUri%2C%20we%20could%20use%20the%20Azure%20Storage%20API%20to%20read%20the%20blob.%3C%2FP%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COUTCOME%3E%3C%2FOUTCOME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNAME%3EWrongToken%3C%2FNAME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CCOUNT%3E1%3C%2FCOUNT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CPNSERRORDETAILSURI%3E%3CSTRONG%3E%7BBlob%20uri%7D%3C%2FSTRONG%3E%3C%2FPNSERRORDETAILSURI%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4.If%20the%20PnsErrorDetailsUri%20value%20could%20not%20be%20found%20in%20the%20response%20payload%20after%20ruling%20out%20above%20possibilities%2C%20please%20kindly%20refer%20to%20following%20considerations%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA.%20While%20calling%20REST%20API%20directly%2C%20please%20make%20sure%20you%20are%20setting%20API%20version%20as%202016-07%20and%20above%20because%20the%20PnsErrorDetailsUri%20requires%20Api-Version%202016-07%20at%20least.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_1-1643614789253.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343835i11C26FC2EA01A84F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_1-1643614789253.png%22%20alt%3D%22Jay_Gong_1-1643614789253.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EB.While%20calling%20REST%20API%20via%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fnotification-hubs%2Fnotification-hubs-sdks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESDK%3C%2FA%3E%2C%20the%20underlying%20request%20may%20not%20follow%20API%20pattern.%20For%20example%2C%20we%20are%20using%20historical%20version%20%3CSTRONG%3E1.0.3%3C%2FSTRONG%3E%20of%20Microsoft.Azure.NotificationHubs%20package%2C%20there%20isn%E2%80%99t%20particular%20parameter%20of%20API%20version%20can%20be%20passed%20easily%20probably.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_2-1643614789258.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343836iADF1CAA6CCFCC265%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_2-1643614789258.png%22%20alt%3D%22Jay_Gong_2-1643614789258.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20could%20capture%20the%20details%20of%20testing%20request%20by%20%3CA%20href%3D%22https%3A%2F%2Fwww.telerik.com%2Ffiddler%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EFiddler%20tool%3C%2FA%3E%20or%20other%20web%20debugging%20proxy%20server%20tool%20so%20that%20you%20could%20decrypt%20the%20https%20request%20data%20and%20verify%20the%20specific%20API%20version%20which%20is%20used%20in%20SDK%20method%20by%20default.%26nbsp%3B%20Please%20kindly%20enable%20the%20HTTPs%20capture%20feature%20by%20the%20following%20options(Tools%20---%20Options)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_3-1643614789260.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343837i49B31823B8B434AA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_3-1643614789260.png%22%20alt%3D%22Jay_Gong_3-1643614789260.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_4-1643614789264.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343838i8A200042FD99492B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_4-1643614789264.png%22%20alt%3D%22Jay_Gong_4-1643614789264.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20pushing%20message%20is%20triggered%2C%20we%20could%20check%20the%20used%20API%20version%20in%20the%20detailed%20raw%20data%20of%20specific%20request.%20As%20shown%20below%2C%202015-04%20is%20used%20so%20that%20we%20could%20not%20get%20the%20PnsErrorDetailsUri%20property%20successfully.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_5-1643614789269.png%22%20style%3D%22width%3A%20436px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343839iCBC12E4FF8539325%2Fimage-dimensions%2F436x73%3Fv%3Dv2%22%20width%3D%22436%22%20height%3D%2273%22%20role%3D%22button%22%20title%3D%22Jay_Gong_5-1643614789269.png%22%20alt%3D%22Jay_Gong_5-1643614789269.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20upgrading%20the%20latest%20SDK%20version%20to%20%3CSTRONG%3E4.1.0%3C%2FSTRONG%3E%2C%20the%20underlying%20invoked%20API%20version%20is%20upgraded%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_6-1643614789272.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343840iE6564CE99B60CA50%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_6-1643614789272.png%22%20alt%3D%22Jay_Gong_6-1643614789272.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_7-1643614789293.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343841iD5AF07C43AEEB339%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_7-1643614789293.png%22%20alt%3D%22Jay_Gong_7-1643614789293.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20we%20get%20the%20value%20of%20PnsErrorDetailsUri%2C%20we%20could%20use%20the%20Azure%20Storage%20API%20to%20read%20the%20blob.%3C%2FP%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3090954%22%20slang%3D%22en-US%22%3EHow%20to%20troubleshoot%20PnsErrorDetailsUri%20missing%20issue%20in%20Notification%20Hub%20telemetry%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3090954%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20suggested%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fnotification-hubs%2Fnotification-hubs-push-notification-fixer%23invalid-registrations%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eofficial%20document%3C%2FA%3E%2C%20we%20could%20use%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fnotificationhubs%2Fget-notification-message-telemetry%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGet%20Notification%20Message%20telemetry%20REST%20API%3C%2FA%3E%20when%20we%20have%20issue%2Ffailure%20with%20pushing%20notifications%20in%20the%20Azure%20Notification%20Hub.%20We%20can%20use%20this%20API%20to%20review%20and%20monitor%20the%20pushed%20notifications.%20There%20is%20one%20prominent%20property%20named%20PnsErrorDetailsUri%20for%20our%20troubleshooting%20which%20indicates%20the%20details%20of%20error%20reported%20by%20PNS.%20However%2C%20the%20PnsErrorDetailsUri%20might%20not%20be%20found%20in%20the%20response%20payload%20sometimes%20when%20we%20use%20SDK%20which%20blocks%20our%20investigation.%20This%20article%20provides%20some%20troubleshooting%20threads%20to%20narrow%20down%20why%20we%20can%E2%80%99t%20invoke%20Telemetry%20API%20successfully%20or%20get%20PnsErrorDetailsUri%20property%20while%20invoking%20this%20API.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ETroubleshooting%20Steps%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E1.Please%20check%20the%20pricing%20tier%20of%20your%20Notification%20Hub%20firstly.%20The%20telemetry%20API%20is%20only%20available%20for%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fpricing%2Fdetails%2Fnotification-hubs%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EStandard%20tier%20Notification%20Hub%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2.If%20no%20errors%20were%20reported%20by%20a%20PNS%2C%20the%20PnsErrorDetailsUri%20property%20will%20not%20be%20included%20in%20the%20response%20payload.%20Please%20kindly%20refer%20to%20multiple%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Frest%2Fapi%2Fnotificationhubs%2Fget-notification-message-telemetry%23response-codes%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ecommon%20errors%20and%20possible%20reasons%3C%2FA%3E%20of%20this%20API.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3.Generally%2C%20state%20of%20message%20progress%20could%20be%20following%20values%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_0-1643614789247.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343834iA5F60FBE3AAF4265%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_0-1643614789247.png%22%20alt%3D%22Jay_Gong_0-1643614789247.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20there%20is%20any%20issue%20while%20publishing%20notifications%2C%20PNS%20error%20details%26nbsp%3Bcan%20be%20found%20from%20PnsErrorDetailsUri%20property%20after%20the%20associated%20send%20operation%20is%20complete.%20Please%20verify%20if%20the%20%3CSTRONG%3Estatus%3C%2FSTRONG%3E%20tag%20is%20%3CSTRONG%3ECompleted%3C%2FSTRONG%3E%20in%20the%20response%20payload.%20The%20PnsErrorDetailsUri%20won%E2%80%99t%20show%20up%20when%20the%20message%20is%20in%20other%20statuses.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3CNOTIFICATIONDETAILS%20xmlns%3D%22%26lt%3BA%22%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fnetservices%2F2010%2F10%2Fservicebus%2Fconnect%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fnetservices%2F2010%2F10%2Fservicebus%2Fconnect%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fnetservices%2F2010%2F10%2Fservicebus%2Fconnect%3C%2FA%3E%20xmlns%3Ai%3D%3CA%20href%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%3C%2FA%3E%26gt%3B%3C%2FNOTIFICATIONDETAILS%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CNOTIFICATIONID%3E%7BYour%20message%20id%7D%3C%2FNOTIFICATIONID%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CLOCATION%3Esb%3A%2F%2F%7BYour%20namespace%7D.servicebus.windows.net%2F%7Byour%20hub%20name%7D%2Fmessages%2F%7Byour%20message%20id%7D%3Fapi-version%3D2015-04%3C%2FLOCATION%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CSTATE%3E%3CSTRONG%3ECompleted%3C%2FSTRONG%3E%3C%2FSTATE%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CENQUEUETIME%3E2015-11-02T21%3A19%3A43Z%3C%2FENQUEUETIME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CSTARTTIME%3E2015-11-02T21%3A19%3A43.9926996Z%3C%2FSTARTTIME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CENDTIME%3E2015-11-02T21%3A19%3A43.9926996Z%3C%2FENDTIME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CNOTIFICATIONBODY%3E%26amp%3Blt%3B%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-16%22%3F%26amp%3Bgt%3B%26amp%3Blt%3Btoast%26amp%3Bgt%3B%26amp%3Blt%3Bvisual%26amp%3Bgt%3B%26amp%3Blt%3Bbinding%20template%3D%22ToastText01%22%26amp%3Bgt%3B%26amp%3Blt%3Btext%20id%3D%221%22%26amp%3Bgt%3BHello%20from%20a%20.NET%20App!%26amp%3Blt%3B%2Ftext%26amp%3Bgt%3B%26amp%3Blt%3B%2Fbinding%26amp%3Bgt%3B%26amp%3Blt%3B%2Fvisual%26amp%3Bgt%3B%26amp%3Blt%3B%2Ftoast%26amp%3Bgt%3B%3C%2FNOTIFICATIONBODY%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CTARGETPLATFORMS%3Ewindows%3C%2FTARGETPLATFORMS%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CWNSOUTCOMECOUNTS%3E%3C%2FWNSOUTCOMECOUNTS%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COUTCOME%3E%3C%2FOUTCOME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNAME%3ESuccess%3C%2FNAME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CCOUNT%3E3%3C%2FCOUNT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3COUTCOME%3E%3C%2FOUTCOME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CNAME%3EWrongToken%3C%2FNAME%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CCOUNT%3E1%3C%2FCOUNT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%26nbsp%3B%20%3CPNSERRORDETAILSURI%3E%3CSTRONG%3E%7BBlob%20uri%7D%3C%2FSTRONG%3E%3C%2FPNSERRORDETAILSURI%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4.If%20the%20PnsErrorDetailsUri%20value%20could%20not%20be%20found%20in%20the%20response%20payload%20after%20ruling%20out%20above%20possibilities%2C%20please%20kindly%20refer%20to%20following%20considerations%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA.%20While%20calling%20REST%20API%20directly%2C%20please%20make%20sure%20you%20are%20setting%20API%20version%20as%202016-07%20and%20above%20because%20the%20PnsErrorDetailsUri%20requires%20Api-Version%202016-07%20at%20least.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_1-1643614789253.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343835i11C26FC2EA01A84F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_1-1643614789253.png%22%20alt%3D%22Jay_Gong_1-1643614789253.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EB.While%20calling%20REST%20API%20via%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fnotification-hubs%2Fnotification-hubs-sdks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESDK%3C%2FA%3E%2C%20the%20underlying%20request%20may%20not%20follow%20API%20pattern.%20For%20example%2C%20we%20are%20using%20historical%20version%20%3CSTRONG%3E1.0.3%3C%2FSTRONG%3E%20of%20Microsoft.Azure.NotificationHubs%20package%2C%20there%20isn%E2%80%99t%20particular%20parameter%20of%20API%20version%20can%20be%20passed%20easily%20probably.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_2-1643614789258.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343836iADF1CAA6CCFCC265%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_2-1643614789258.png%22%20alt%3D%22Jay_Gong_2-1643614789258.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20could%20capture%20the%20details%20of%20testing%20request%20by%20%3CA%20href%3D%22https%3A%2F%2Fwww.telerik.com%2Ffiddler%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EFiddler%20tool%3C%2FA%3E%20or%20other%20web%20debugging%20proxy%20server%20tool%20so%20that%20you%20could%20decrypt%20the%20https%20request%20data%20and%20verify%20the%20specific%20API%20version%20which%20is%20used%20in%20SDK%20method%20by%20default.%26nbsp%3B%20Please%20kindly%20enable%20the%20HTTPs%20capture%20feature%20by%20the%20following%20options(Tools%20---%20Options)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_3-1643614789260.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343837i49B31823B8B434AA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_3-1643614789260.png%22%20alt%3D%22Jay_Gong_3-1643614789260.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_4-1643614789264.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343838i8A200042FD99492B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_4-1643614789264.png%22%20alt%3D%22Jay_Gong_4-1643614789264.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20pushing%20message%20is%20triggered%2C%20we%20could%20check%20the%20used%20API%20version%20in%20the%20detailed%20raw%20data%20of%20specific%20request.%20As%20shown%20below%2C%202015-04%20is%20used%20so%20that%20we%20could%20not%20get%20the%20PnsErrorDetailsUri%20property%20successfully.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_5-1643614789269.png%22%20style%3D%22width%3A%20436px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343839iCBC12E4FF8539325%2Fimage-dimensions%2F436x73%3Fv%3Dv2%22%20width%3D%22436%22%20height%3D%2273%22%20role%3D%22button%22%20title%3D%22Jay_Gong_5-1643614789269.png%22%20alt%3D%22Jay_Gong_5-1643614789269.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAfter%20upgrading%20the%20latest%20SDK%20version%20to%20%3CSTRONG%3E4.1.0%3C%2FSTRONG%3E%2C%20the%20underlying%20invoked%20API%20version%20is%20upgraded%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_6-1643614789272.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343840iE6564CE99B60CA50%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_6-1643614789272.png%22%20alt%3D%22Jay_Gong_6-1643614789272.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Jay_Gong_7-1643614789293.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F343841iD5AF07C43AEEB339%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Jay_Gong_7-1643614789293.png%22%20alt%3D%22Jay_Gong_7-1643614789293.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20we%20get%20the%20value%20of%20PnsErrorDetailsUri%2C%20we%20could%20use%20the%20Azure%20Storage%20API%20to%20read%20the%20blob.%3C%2FP%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3090954%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ENotification%20Hub%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Feb 01 2022 10:46 PM
Updated by: