Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1K
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!