# Bug: Prototyper intermittently fails to apply XML/file changes

**URL:** <https://community.firebasestudio.dev/t/bug-prototyper-intermittently-fails-to-apply-xml-file-changes/13001>\
**Category:** General\
**Tags:** troubleshooting\
**Created:** [May 22, 2025, 9:26pm UTC](https://community.firebasestudio.dev/t/bug-prototyper-intermittently-fails-to-apply-xml-file-changes/13001 "2025-05-22T21:26:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Fachten](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/fachten/32/6910_2.png) [@Fachten](https://community.firebasestudio.dev/u/Fachten)\
**Post date:** [May 24, 2025, 8:47pm UTC](https://community.firebasestudio.dev/t/bug-prototyper-intermittently-fails-to-apply-xml-file-changes/13001/4 "2025-05-24T20:47:41Z")

</div>

I kind of fixed the error by deleting every message instead of the first one from /home/user/.idx/ai/capra-context-state.json

Here is a more detailed guide:  
[Temporary workaround for error due to exceeding input token count (unofficial) - General - Firebase Studio Community](https://community.firebasestudio.dev/t/temporary-workaround-for-error-due-to-exceeding-input-token-count-unofficial/12457)

---

_[View the full topic](https://community.firebasestudio.dev/t/bug-prototyper-intermittently-fails-to-apply-xml-file-changes/13001)._
