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

    • 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
    • [Webinar] A hands-on guide to Catalyst Stratus

      Have you used Catalyst Stratus yet? It’s an object storage service that makes it easy to handle large files — whether they're coming from your Catalyst app or other Zoho apps. We’re hosting a live coding session where you’ll build a working prototype
    • Catalyst Video Tutorials!

      Hello everyone! We’ve been brewing something exciting behind the scenes, and we’re thrilled to finally share it with you- Catalyst video tutorials are here! We recognized that videos are the predominant medium for learning and discovery these days, so
    • [Webinar] Catalyst Cloud Browser in Action: PDF & Web Rendering Solutions for Regulated Industries

      Hi everyone, Have you ever struggled with rigid PDF tools or clunky rendering logic in BFSI or healthcare apps? Do your clients struggle to deliver compliant, dynamic, and automated documents — and most are still stuck with brittle, server-heavy PDF generation?

      Catalyst Community