GithubHelp home page GithubHelp logo

Cannot Add/Edit a product about veniqa HOT 6 CLOSED

AmandaDLyon avatar AmandaDLyon commented on September 24, 2024 1
Cannot Add/Edit a product

from veniqa.

Comments (6)

gfyre avatar gfyre commented on September 24, 2024

@AmandaDLyon I actually had never tried to add or edit a product in through the dashboard. However, I just took a look at it and I am facing the same issue.

@Viveckh I think that this is quite a pressing issue. Could it be the S3 bucket policies or CORS causing this issue.

It seems like circular-json is failing or is misconfigured. Can you check to see if the same issue persists on your end?

I am tagging @smaharj1 as well.

from veniqa.

AmandaDLyon avatar AmandaDLyon commented on September 24, 2024

@smaharj1 @Viveckh Any solution or suggestion guys? I am really really looking forward to your help!!

from veniqa.

AmandaDLyon avatar AmandaDLyon commented on September 24, 2024

@smaharj1 @Viveckh this is actually funny. The error exists only when you are adding or editing a product. However, the action that you were trying to do would actually happen.

For example, if you are adding a product, it will show an error, but then the product is actually added to the catalogue. Same goes for editing a product.

What needs to be done here?

from veniqa.

AmandaDLyon avatar AmandaDLyon commented on September 24, 2024

So now that I am sort of able to upload a product (although that weird-ass issue needs to be fixed), the issue is now on the shopping-client where the images don't load. I get a Code 301, which is basically saying that the image has been Moved Permanently.

@smaharj1 @Viveckh what can I do here? Somehow, after changing the bucket URL (I am using ap-south-1), it is still able to load the veniqa bucket and not images from my bucket. Where would I change the config for this?

from veniqa.

smaharj1 avatar smaharj1 commented on September 24, 2024

The issue you are seeing is most probably with communication with S3. Look into bucket policies and who can access the bucket.

Sorry for not replying earlier. All the founders of this involved in multiple projects. So, this has been kind of in a back burner

from veniqa.

Viveckh avatar Viveckh commented on September 24, 2024

I made a bucket policy update for images and also hosted our demo servers in the same domain as the frontends. With this, the product add/edit seems to function flawlessly in our demo sites. The circular json issue still needs addressing if it persists, but I did not notice that error on the live version during test.

There's a new documentation update here if you guys are experiencing issues configuring your S3 bucket for images.

from veniqa.

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.