Giter VIP home page Giter VIP logo

Comments (3)

matteofigus avatar matteofigus commented on July 19, 2024

Hi Adams, thanks for submitting the issue.

We did a bit of digging. When the APIGW returns a response, it should send a wildcard for the Access-Control-Allow-Origin header: https://github.com/aws-samples/amazon-rekognition-engagement-meter/blob/master/src/cfn/template.yaml#L520

My assumption is that something may be wrong and the API is returning a non 200 code, not matching the mapping and showing a CORS error.
We have a plan for that (we'll add mappers for 4xx and 5xx status codes soon), but in the meanwhile, I recommend opening the API Gateway Web Interface and trying to test the GET /people endpoint. If something was changed on the IAM side, for instance, perhaps the API Gateway may be having troubles accessing Dynamo and you may spot an interesting error message there.

I'll keep you on the loop.
Thanks for your patience.

from amazon-rekognition-engagement-meter.

matteofigus avatar matteofigus commented on July 19, 2024

Hi @aa2858, as anticipated in my previous comment, we published a new change that should allow you to have better error descriptions when having a non-200 response from the API. Would you be able to test the new version?

I am hoping that will help to troubleshoot the issue.

from amazon-rekognition-engagement-meter.

matteofigus avatar matteofigus commented on July 19, 2024

I haven't heard anything new, so I am closing it, but please re-open if the problem persists. Thanks.

from amazon-rekognition-engagement-meter.

Related Issues (8)

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.