Open spartymants opened 4 years ago
Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites).
The REST request issue appears to have been resolved. So the documentation is somewhat valid ... however it might be prudent to include where the message id is sourced from, as you specify for the popreceipt
This seems to be a different bug, I get the same error when the pop receipt has a +
in the middle. As you can see you submitted AgAAAAMAAAAAAAAAYUMWAIg+1gE=
but you got the error that AgAAAAMAAAAAAAAAYUMWAIg 1gE=
format is invalid
@guillene The same problem happens to me too. Did you find a solution for the bug?
Yes, you need to encode the URL before you send it. Some programming languages have libraries for that, in my case, I did a simple string replace every time I find a "+" to a "%2b" and works like a charm 😄
@guillene Thank you so much!! As you said, works like a charm!
My issue was that the message id within the URL doesn't look like a path parameter. I would have expected something like:
https://myaccount.queue.core.windows.net/myqueue/messages/{messageid}?popreceipt=string-valueOMG I just spend 1h chasing it. The documentation really should be more obvious.
https://myaccount.queue.core.windows.net/myqueue/messages/messageid?popreceipt=string-value
The instruction does talk about replacing myaccount and popreceipt, but not messageid. Now it is obvious, but took to long.
Just tell me where the page source is. I will create the PR
I've identified an issue with the Azure Storage Rest API documentation for the delete method.
The delete message documentation does not appear to be correct Delete Message
The document states that the following uri must be used https://myaccount.queue.core.windows.net/myqueue/messages/messageid?popreceipt=string-value
There is no mention of messageid path attribute in the doc other than it be included in the uri.
if the /messageid (the literal or the actual message id from the azure storage queue item) is included in the path it results in an error
If the /messageid is removed then a 204 is returned as expected
Happy to help fixing the doc if you point me at the relevant location on github.