Azure
Tuesday, 1 August 2023
Monday, 31 July 2023
Thursday, 15 October 2020
Service Bus Queue Error: Put token failed. status-code: 401, status-description: InvalidSignature:
Service Bus Queue Error:
Error:
Microsoft.Azure.ServiceBus: Put token failed. status-code: 401, status-description: InvalidSignature: The token has an invalid signature. TrackingId:35576a17-4fed-4a58-afab-e1c73a9fc886, SystemTracker:NoSystemTracker, Timestamp:2020-10-15T09:09:38.
Solution\Observation:
Seems it is getting error due to invalid service bus queue connection string which you have provided, please check service bus queue connection string.
Monday, 14 October 2019
Tuesday, 17 September 2019
WEB API send multiple files client
using (var client = new HttpClient())
{
string url = Environment.GetEnvironmentVariable("PNGToTIFFEndPoint");
BinaryReader binaryReader = new BinaryReader(pngStream);
binaryReader.BaseStream.Position = 0;
int length = (int)pngStream.Length;
byte[] data = binaryReader.ReadBytes(length);
ByteArrayContent bytes = new ByteArrayContent(data);
MultipartFormDataContent multiContent = new MultipartFormDataContent();
multiContent.Add(bytes, "file", fileName);
var result = client.PostAsync(url, multiContent).Result;
var resultVAlue = await result.Content.ReadAsStreamAsync();
return resultVAlue;
}
Subscribe to:
Comments (Atom)


