Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

[BUG] REST API throws 500 Internal Server Error when a Message contains a Message Property with a key that contains a colon or a slash

$
0
0

When I push a message trough the Service Bus and I want to fetch it with the REST API (trough the PHP SDK for example), a 500 Internal Server Error is thrown when the Message contains a Message Property with a key that contains a colon or a slash.

I store the message by using the Service Bus Explorer, and clicking on "send message" on a queue.

Under Message Properties, fill in xxx/yyy as key, with any value (type = string)

Hit [ Start ].

The REST API will throw an error like this when fetching this message.

Error: Fail:
Code: 500
Value: Internal Server Error
details (if any): <Error><Code>500</Code><Detail>The server was unable to process the request; please retry the operation. If the problem persists, please contact your Service Bus administrator and provide the tracking id. TrackingId:19476ab0-066a-4a47-8a56-a2d8614146d5_G5,TimeStamp:4/26/2016 1:03:27 PM</Detail></Error>.

I've stumbled on this bug when integrating with Microsoft Dynamics CRM, what pushes messages on the Service Bus with message properties that are all URLs in the keys.


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>