Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1K
Visualizações
Exception: No RegionEndpoint or ServiceURL configured

I'm trying to connect to AWS DynamoDb by creating an AmazonDynamoDBClient.
I'm getting the following exception:

Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configured
at Amazon.Runtime.ClientConfig.Validate()
at Amazon.Runtime.AmazonServiceClient..ctor(AWSCredentials credentials, ClientConfig config)


I have the following lines in my App.Config file (the actual keys are in my code):

  <appSettings>
    <add key="AWSProfileName" value="development" />
    <add key="AWSAccessKey" value="XXXXXXXXXX" />
    <add key="AWSSecretKey" value="YYYYYYYYYY" />
    <add key="AWSRegion" value="us-east-2" />
  </appSettings>


I also have a credentials file under the AWS folder. Includes the following:

[development]
aws_access_key_id = XXXXXXXX
aws_secret_access_key = YYYYYYYYYY


In my code, I'm simply calling to:

AmazonDynamoDBClient client = new AmazonDynamoDBClient();


I'm working in visual-studio 2019. This used to work when I was working in a simple console application environment. Now I am working under Azure-Functions template project.
Why am I getting error?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Not sure why it is not working since you have added AWSRegion to the config. I suggest to add the below to your credentials file

[development]
aws_access_key_id = XXXXXXXX
aws_secret_access_key = YYYYYYYYYY
region = us-east-2
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda