Code Monkey home page Code Monkey logo

Comments (6)

darkcrawler01 avatar darkcrawler01 commented on August 15, 2024

@MHopke : a couple of things might be causing this issue:

  1. Make sure you have created the DynamoDB table in AWS Console first with the selected hash key
  2. LoadAsync is a generic method and takes the client-side class mapped to the table created in step 1.

from aws-sdk-unity.

MHopke avatar MHopke commented on August 15, 2024

EDIT: I did find the overriden method that takes a range key, but I am still receiving the WebException 400 : badrequest error. Additionally, the application throws an additional error when using System.Enum.Parse on the badrequest value.

Thanks for getting back to me! I do have the table set-up, although it has both a hash and range key, could this be causing the issue? (And I do have the class mapped to the table)

from aws-sdk-unity.

darkcrawler01 avatar darkcrawler01 commented on August 15, 2024

easiest way to debug bad request error is to enable this flag.

AmazonLogging.EnableSDKLogging = true;

before making any request. Check the logs for the curl command, try running the curl command using terminal( or cygwin if you are using windows).
I am guessing there's something missed between the declared hash & range key and mapped classed.

from aws-sdk-unity.

MHopke avatar MHopke commented on August 15, 2024

Ok thank you! I will give that a go tomorrow.

On Saturday, December 20, 2014, Kalyanaraman Santhanam <
[email protected]> wrote:

easiest way to debug bad request error is to enable this flag.

AmazonLogging.EnableSDKLogging = true;

before making any request. Check the logs for the curl command, try
running the curl command using terminal( or cygwin if you are using
windows).
I am guessing there's something missed between the declared hash & range
key and mapped classed.


Reply to this email directly or view it on GitHub
#1 (comment).

Michael Hopke
Partner & Senior Programmer | gametheory

from aws-sdk-unity.

MHopke avatar MHopke commented on August 15, 2024

Thanks for all the help! The user role was denying Describe table permissions, which was causing the error.

from aws-sdk-unity.

darkcrawler01 avatar darkcrawler01 commented on August 15, 2024

great ! please mark this issue as closed

from aws-sdk-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.