Prompt
Preference center not saving choices
Latest observation
Oct 29, 2026
OpenAI APIWeb search: off
If a preference center isn’t saving choices, the usual causes are:
-
Submission isn’t reaching the server
- The “Save” button may not be wired to the API.
- Check browser DevTools → Network to see whether a request is sent.
-
Validation error
- A required field may be missing or invalid, blocking save.
- Check the response body for error messages.
-
State isn’t being persisted
- The UI updates locally, but the backend/database isn’t storing it.
- Verify the preferences are written to the user record.
-
Cookies / consent / auth issues
- If the user isn’t authenticated, the app may not know where to save.
- If cookies are blocked, session-based saving can fail.
-
Frontend bug
- The toggles may visually change but the payload sent is wrong.
- Compare the UI state with the request payload.
-
Caching / stale data
- Page reload may show old values from cache instead of saved ones.
- Check whether the app re-fetches updated preferences after save.
-
Cross-domain / CORS problems
- If the preference center is on a different domain, requests may be blocked.
- Look for CORS errors in the console.
If you want, I can help you debug it step by step. Please share:
- the platform or code stack,
- what happens when you click Save,
- any console/network errors,
- and whether the UI changes temporarily or not at all.