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

404 error frontend when launching on vercel #110

Open
samrobertson opened this issue Aug 13, 2024 · 6 comments
Open

404 error frontend when launching on vercel #110

samrobertson opened this issue Aug 13, 2024 · 6 comments

Comments

@samrobertson
Copy link

Launched on Vercel using the standard link to directus cloud instance and key created.

When loading site on vercel I recieve error:
{ "url": "/", "statusCode": 404, "statusMessage": "Page Not Found", "message": "Page Not Found", "stack": "" }

@WayneEld
Copy link

@samrobertson I think this might be linked to using the latest version of Directus, version 11, try roll back to the latest 10 version. Same issue running locally here:

›   Warning: Status 400 • "Validation failed for field \"policy\". Value is 
 ›   required."
 ›

Policies came into play in Directus 11

@samrobertson
Copy link
Author

@samrobertson I think this might be linked to using the latest version of Directus, version 11, try roll back to the latest 10 version. Same issue running locally here:

›   Warning: Status 400 • "Validation failed for field \"policy\". Value is 
 ›   required."
 ›

Policies came into play in Directus 11

Is there a way to do that when using the directus cloud? I can only see how to do it using the self-hosted option

@WayneEld
Copy link

@samrobertson I think this might be linked to using the latest version of Directus, version 11, try roll back to the latest 10 version. Same issue running locally here:

›   Warning: Status 400 • "Validation failed for field \"policy\". Value is 
 ›   required."
 ›

Policies came into play in Directus 11

Is there a way to do that when using the directus cloud? I can only see how to do it using the self-hosted option

@samrobertson Directus Cloud, as far as I am aware, update their cloud version to the latest Directus every 2 weeks. So I don't think so, no.

@Loosie94
Copy link

Had the same issue and though I had a fix for it here: #111
Decided to rollback to version 10.13.1 because it probably has something to do with the new permissions structure.

@jddunn
Copy link

jddunn commented Oct 10, 2024

@Loosie94 Any idea on when a fix for version 11 support might get out? Doesn't seem like they have docs for older versions

@bryantgillespie
Copy link
Contributor

@Loosie94 Any idea on when a fix for version 11 support might get out? Doesn't seem like they have docs for older versions

We're currently in beta release for v11 support for the directus-template-cli - which is the tool we use to load the Directus instance with the all the data models and content. Once that goes from beta to general release, we'll have an update for AgencyOS that supports V11.

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

5 participants