Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Alexey Ashurok
    Hi, is any maintainers here? Issue #1196 was closed, but the problem still exists.
    We reword it to match root case better but have no response from @klaytaybai =(
    Can someone reopen it?
    There is not possible to make PutObjectRequest with key ending with whitespaces.
    Hi @aotd1, both PutObject and GetObject allow keys with whitespaces--as they should. Using a VersionId with whitespace at the end is not supported by the SDK because it is not supported by the S3 service. If we were to reopen this, it would probably be very low priority for some time unless the service started supporting VersionIds with whitespace at the end.
    Alexey Ashurok

    @klaytaybai VersionId with whitespace is only our problem, I understand it.
    The common problem is that this code crashes too:

    var client = new AmazonS3Client(bucketRegion);
    var request = new PutObjectRequest
                        Key = "test ",
                        BucketName = "bucket",
                        ContentBody = "test"
    using (var response = await client.PutObjectAsync(request))

    with SignatureDoesNotMatch.

    It's because signing request don't use TrimEnd(), but CanonicalizedResource use.
    So we send http://blablabla/?key=test, but sign
    @aotd1, let's move this conversation back to the issue. Could you please provide a link to a repro solution so I can see if there are other configurations that may be involved? I have been able to get this request to work consistently using the same style of parameters (i.e. space at end of key).
    is there any sample out there for sharing DB Connection between lambda execution?
    John Harcourt

    I'm receiving S3 errors when running a project in Visual Studio 2019, but which works just fine in VS 2017. The error happens when instantiating an AmazonS3Client :

    AmazonS3Client s3Client = new AmazonS3Client(RegionEndpoint.USEast1);

    and getting the error:
    System.ArgumentException HResult=0x80070057 Message=An item with the same key has already been added. Key: System.Collections.Generic.Dictionary2[System.String,System.Collections.Generic.Dictionary2[System.String,System.Object]] Source=System.Private.CoreLib StackTrace: at System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException[T](T key)

    Matt Perry
    Anyone know where there are any samples for .net core to pretty much any of the services? Struggling to find examples, especially to Amazon Connect.
    Michael Jan
    @dillorscroft same here, I tried looking for examples for .net core and pretty much gave up, the support is very poor for .net core in regards to aws. I ended up using Xamarin with Azure instead.
    @dillorscroft, what are you hoping to do with Amazon Connect? If we can get more customer feedback about which services and features need more documentation and samples, we can try to make those a higher priority.
    Does anybody know how to solve uploading files with Chinese characters name?When I upload them ,I will get a exception SignatureDoesNotMatch.
    using aws-net-sdk makes me so sad
    Ahmed Zahran
    Is there active development for the .Net SDK? Some reported issues on the GitHub repository are so old and with little response. That is concerning.
    Does anyone have any working sample for the KMS (Kafka) configuration using the .Net SDK?
    Phillip Haydon
    anyone know what the difference between AWSSDK.CloudSearch and AWSSDK.CloudSearchDomain is?
    @phillip-haydon thanks for the feedback on this. We'll get it updated. AWSSDK.CloudSearch is the configuration API for setting up CloudSearch domains. AWSSDK.CloudSearchDomain is the API for both document management (adding, deleting, replacing) within your domain and searching your domain. You can see more details by looking at the code or referencing the service's documentation here: https://docs.aws.amazon.com/cloudsearch/latest/developerguide/api-ref.html. I updated your GitHub issue too.
    after installing AWSToolkitForVisualStudio2010-2012_tk- ,create a new project s3 example by vs2010 ,no AWSSDK.core AWSSDK.S3 find
    my computer os is win 10
    Jacob Procee
    I'm kind of new to AWS but I'm trying to get Authentication working as described on this page: https://aws.amazon.com/blogs/developer/introducing-the-asp-net-core-identity-provider-preview-for-amazon-cognito/ But when executing the CreateAsync call I'm getting an OperationCancelledException. I'm using Rider on Arch Linux
    how to build AWS SDK for .NET Net35 ,after importting it into VS2019, Net45 project works well,but NET Net35 seems miss System.dll and so on lib, which also cannot delete change、modify。so how to build NET Net35 project
    does AWS SDK for .NET contains AWSSDK.CoreCLR project ?
    can anyone help me ?
    how to build aws-sdk-net ?
    Sazid Hossain Banna
    This chat looks dead
    but just in case
    Wondering about how to implement SQS
    Om Prakash
    Using AWS elastic beanstalk we r trying to upload file . But It's Throwing exception.
    "Message": "An error has occurred.",
    "ExceptionMessage": "Access to the path 'C:\inetpub\wwwroot\assets\ABC195415319.txt' is denied.",
    "ExceptionType": "System.UnauthorizedAccessException",
    Hello friends!
    Ameer Thasthahir
    May I know the average response time of AWS SDK API for .Net?
    How good is your network connection?
    There's very little actual overhead in the SDK. It's mostly just wrapping REST API calls.
    Carlos Fernandez
    Quick question: do the maintainers of the AWS-NET-SDK accept pull requests? There is no CONTRIBUTING.MD or guidelines for contributing like other AWS repos...
    maybe someone from AWS can respond? @fulghum ?
    Hippie Techie

    hello ~

    have some issues trying to run aws-sdk-net on my .net v4.7 plugin.
    I require to am trying to authenticate to S3 bucket via cognito identity, however there seems to be an exception thrown when I attempt to create a CognitoAWSCredential.

    Exception thrown: 'System.TypeLoadException' in AWSSDK.CognitoIdentity.dll

    Am really stuck and am hoping if someone has been through this and understand why I am facing this issue
    Carlos Fernandez
    The "TypeLoadException" happens when an assembly cannot be found in the output directory of the compilation...
    So you need to understand why the AWSSDK.CognitoIdentity.dll file is not being copied to the bin/debug or bin/release folder
    Hippie Techie
    I manually checked the directory where the plugin is loaded, and the AWSSDK.CognitoIdentity.dll file seems to be there.
    would this mean that it is not being loaded in to the program somehow?
    Carlos Fernandez
    probably... unfortunately it's complicated to try and help you through chat... maybe check the stack trace and the inner exception message. also make sure that the "Path" where it's trying to load the file from is the same as the folder where the DLL is?
    also, is this a windows desktop app? a server app? are you debugging locally?
    make sure you can get it running locally
    Hippie Techie
    ok will try, thanks Carlos~ :)
    Hippie Techie
    fixed @carlosrfernandez !! you were right, i had to check the stack trace further in order to find out the path that the dll is being loaded from.
    the debugging portion that helped me to fix this issue was the module window that is available only during debugging : " Debug > window > modules "
    more info here if you face a similar issue aws/aws-sdk-net#1409
    Ajay Singh
    I am trying to call the AWS API Gateway API secured with API Key. Things are working fine from PostMan but when calling from .Net Core using HttpClient every time I am getting 403 i.e Forbidden message. I using the following code
    HttpClient client = new HttpClient();
        HttpRequestMessage request = new HttpRequestMessage(new HttpMethod("POST"),  _configuration["AppSettings:SendFeedBackTaskUrl"]);
        request.Headers.Add("x-api-key", _configuration["AppSettings:SendFeedBackTaskUrlCode"]);
        string data = $"{{\"completedTaskId\":\"{currentTaskId.ToString()}\",\"companyCode\":\"{companyCode}\"}}";
        request.Content = new StringContent(data, Encoding.UTF8, "application/json");
        var response = await client.SendAsync(request);
    Paul Mattingly
    Hello, I am using the AmazonDynamoDBClient and seeing a few different WebExceptions that I need to troubleshoot. They usually have one of the following messages, "A WebException with status ReceiveFailure was thrown", "A WebException with status RequestCancelled was thrown" or "A WebException with status KeepAliveFailure was thrown". How can I go about working out where these are coming from? Thanks
    Kim Zhu
    I got a question, anyone know how to create a sqs queue with the lambda trigger in .net core? I cannot find the option in sqsClient.CreateQueueAsync (see below)
    using (var sqsClient = new AmazonSQSClient(sqsConfig))
    await sqsClient.CreateQueueAsync(new CreateQueueRequest {
    QueueName = "myqueue",
    Attributes =
    { QueueAttributeName.MaximumMessageSize, "262144"},
    { QueueAttributeName.DelaySeconds, "0"},
    { QueueAttributeName.MessageRetentionPeriod, "691200" },
    { QueueAttributeName.ReceiveMessageWaitTimeSeconds, "10"},
    { QueueAttributeName.VisibilityTimeout, "300"}
    but I cannot find the option to set the Lambda trigger