Troubleshooting Thursdays : My API gateway rules/function's code is erased in sandbox someone else deploys

Troubleshooting Thursdays : My API gateway rules/function's code is erased in sandbox someone else deploys

API Gateway :
This issue might occur when you do not have the latest API Gateway rules in your local system. So when you deploy your code, the API Gateway rules are also deployed and since that rule is not present in your local system, it gets removed from the catalyst console. We would suggest you to do catalyst pull in order to pull all the latest API Gateway rules to your system and then deploy your code in order to resolve your issue. You can find the help documentation for the same here. Do check on the same and let us know if you further face any issues. 

Functions:
Why does this issue occur?
Let us consider two users X and Y are deploying working on a project together. They both pull the files locally in the initial phase. But Y has added a few lines of code and pushed it to sandbox. X needs to pull this code before making their changes. Alternately, they can create another function.

How can this be fixed?
By using the "catalyst pull" command before using the "catalyst deploy" command.
    • Announcements

    • Catalyst backs Vite.js!

      Hi everyone, We're happy to support the open-source ecosystem that powers modern web development! If you’re building apps with Vite, Catalyst Slate is your go-to platform to deploy blazing-fast frontend apps with ease, scalability, and zero infrastructure
    • Catalyst QuickML 2025 Year In Review

      Hello everyone 👋 It’s been an exciting year for Catalyst QuickML. In 2025, as the Catalyst platform continued to expand its capabilities, QuickML focused on strengthening reliability, developer control, and operational readiness across the AI lifecycle.
    • Introducing GenAI Features in Catalyst QuickML

      Hi everyone, Building machine learning models can often feel slow and complex, especially when teams wait for perfect certainty before testing their ideas. But in reality, faster progress comes from early experimentation—trying out models quickly, learning
    • Announcing Deprecation of Catalyst File Store, Event Listeners, and Cron

      We would like to announce that the following Catalyst features are now in their deprecation phase and will reach End Of Life (EOL) on 30 April, 2026- Catalyst File Store Catalyst Event Listeners Catalyst Cron New users who sign up for Catalyst from today
    • React Nexus 2025 Recap: Catalyst Slate in Action!

      Hey Catalyst Community! We recently attended the React Nexus 2025 conference, an exciting gathering for frontend enthusiasts and React developers. Our team had an incredible time presenting and conducting a hands-on workshop on Catalyst Slate, our streamlined

      Catalyst Community