Hi everybody!
I have a very curious error on a page:
https://visites.nougats-silvain.fr/visites/le-parcours-gourmand/
This page:
<template>
<div>
{{ visit }}
</div>
</template>
...
async asyncData ({ route }) {
const {
data: {
visit,
dates
}
} = await visitsApi.getVisitInfos(route.params.slug)
return {
visit,
dates
}
},
})
And during my build script (no error):
// Generate Visits Pages
const { data: visits } = await axios.get(VISITS_URL.getVisitesForGenerate)
visits.forEach((visit: any) => {
const visitSlug = visit.slug
//const visitDates = visit.dates
routes.push({
route: `visites/${visitSlug}`,
payload: visit
})
})
Theses two endpoints are ok. On the page, i see data displaying, and suddenly disappear…
I noticed in my console this error, which seems to appear right when my visit variable is deleted.
https://app.netlify.com/access-control/bb-api/api/v1/cdp/deploys/63c7f3cd672da00008b25728/views => 412
I don’t know if there is any connection…
Thanks a lot!
Vincent