Couldn't Update Availability Settings #24136
Replies: 1 comment 2 replies
-
| 
        
 Hi @rikaz-heymilo! I'm Dosu and I’m helping the cal.com team. The AvailabilitySettings atom doesn't handle persistence itself—it relies on a handleSubmit prop function to save changes. If you see a success message but changes aren't saved after a refresh, it's likely that handleSubmit isn't actually persisting the data, possibly due to a backend validation error, a silent failure, or an issue with the payload format. The UI will still show a success message if handleSubmit resolves without throwing an error, even if nothing was saved on the backend. To debug, check the network tab for failed or unexpected API responses during save, and review backend logs for errors. Make sure handleSubmit is correctly implemented and that the backend is actually updating the schedule as expected. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other    | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We use the AvailabilitySettings atom from calcom/atoms
After we make changes to the schedule and click on save, we get the success message
But after page refresh the changes are gone (not persisted)
Beta Was this translation helpful? Give feedback.
All reactions