Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiving error: http://localhost:8000/cypress/artisan - 419: Unknown Status Code #63

Open
fylzero opened this issue Jul 30, 2022 · 2 comments

Comments

@fylzero
Copy link

fylzero commented Jul 30, 2022

I'm running into this error when trying to run Cypress.

cy.request() failed on:

http://localhost:8000/cypress/artisan

The response we received from your web server was:

> 419: Unknown Status Code

This was considered a failure because the status code was not 2xx or 3xx.

If you do not want status codes to cause failures pass the option: failOnStatusCode: false

Has anyone encountered this? Any thoughts on how to get around it?

@marcoraddatz
Copy link

I had an 419 and it was because of a missing session. Ensure that you are not testing with SESSION_DRIVER=array.

@vincentauger
Copy link

@marcoraddatz Thank you! 🚀 I was using array, and it was indeed causing the problem in the beforeAll calls. I settled on file to keep it simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants