GithubHelp home page GithubHelp logo

Comments (6)

nanaasar avatar nanaasar commented on May 27, 2024 1

@mohamedsamara thanks for your time and patience.. i have been able to fix it... it was caused by time zone difference.
bless

from mern-ecommerce.

nanaasar avatar nanaasar commented on May 27, 2024

AWS details has been add but still unable to upload images. http://localhost:8080/api/product/add 400 (Bad Request).

from mern-ecommerce.

nanaasar avatar nanaasar commented on May 27, 2024

it works when i manually specify the aws s3 image url in mongodb database

from mern-ecommerce.

mohamedsamara avatar mohamedsamara commented on May 27, 2024

@nanaasar start with logging the actual error on this line. It will log the error in details instead of the friendly error returned to the client. This could be missing AWS configuration, check if the AWS storage function returns the url at least.

from mern-ecommerce.

nanaasar avatar nanaasar commented on May 27, 2024

code: 'RequestTimeTooSkewed',
region: null,
time: 2022-07-08T19:57:37.401Z,
requestId: '1YH2FQ1T7AY80RHA',
extendedRequestId: 'wiGAB/PULiOthAzbcrdbNL5iLCDlLX2gYkK7SOXZ/vmXjC8CyV9xOMlhA+LYqd5l02WduAFcXUM=',
cfId: undefined,
statusCode: 403,
retryable: false,
retryDelay: 46.40291322332557
}

from mern-ecommerce.

mohamedsamara avatar mohamedsamara commented on May 27, 2024

@nanaasar This is AWS error. I haven't seen it before, not sure why it also says region null maybe try add that. Look up the error there could be something about your AWS S3 setup - Error.

from mern-ecommerce.

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.