Giter Club home page Giter Club logo

Comments (3)

Totengeist avatar Totengeist commented on June 4, 2024

I got this error after upgrading, and it was due to missing .key files in storage. Try running php artisan passport:keys. I realized later that I had forgotten to move the storage directory back in after the upgrade.

If this doesn't solve it, try using the browser Developer Console to see what the server actually returns on that request. In my case the error made the problem much clearer.

from monica.

s3rv3rn3rd avatar s3rv3rn3rd commented on June 4, 2024

I tried running the artisan command but that didn't resolve it. Do I need to run that from within the storage directory or just within the main monica folder?

I tried uploading again while observing with the developer tools and what's interesting is if I try and update the contact image, i don't actually get an error. I have a few warnings on the page but no errors, despite it giving the error on the page when it fails to upload.

Then I went and tried to upload the photo in the photos section and I get an error on that one. From there, I get:

POST https://monica.domain.com/peop vendor.js?id=c9e292e41ff5d105838cea3bea92363d:2le/h:J4q2VolejRejNmGQBW/photos 422 (Unprocessable Content)

And then it lists off the different js files.

from monica.

Rex-0x7CB avatar Rex-0x7CB commented on June 4, 2024

I faced the same issue while uploading a PDF in the document section under a contact. I kept getting HTTP Error 422 in the browser network logs. I found a work around - I zipped the PDF and uploaded it and it worked!
I know this isn't the best solution, not the expected behavior, but, until the devs fix it, this is all we can do.

from monica.

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.