You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation fetch is cached by default. In the file, neither a locale nor a global revalidate is configured.
=> Theory: The issue appears because the fetch in getConfigResponse is cached and never revalidated. Due to the initial misconfiguration, the function and hence the whole endpoint keeps returning an "Invalid Configuration".
A possible fix is to add a revalidation or turn off caching for this particular fetch.
The text was updated successfully, but these errors were encountered:
Issue
Under certain conditions, a custom domain never gets green in the UI. It's stuck in "Invalid Configuration".
The "verify" endpoint keeps returning an "Invalid Configuration". If you call the Vercel API manually via cURL it shows
"misconfigured": false
.Steps to reproduce
Analysis
verify
endpoint calls thegetConfigResponse
. This function usesfetch
platforms/lib/domains.ts
Lines 85 to 96 in 29e20e7
=> Theory: The issue appears because the
fetch
ingetConfigResponse
is cached and never revalidated. Due to the initial misconfiguration, the function and hence the whole endpoint keeps returning an "Invalid Configuration".A possible fix is to add a revalidation or turn off caching for this particular fetch.
The text was updated successfully, but these errors were encountered: