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

    • Important Announcements in Support for Catalyst Features

      Hello Catalyst Users, This announcement is to bring to your notice some of the recent updates in our support for various Catalyst components, to ensure that your existing Catalyst applications function properly. You can continue to build robust applications
    • Introducing Catalyst 2.0, the simplest cloud-based pro-code development platform.

      Dear Catalyst Community, We are beyond thrilled to present you Catalyst 2.0—the new-age, pro-code development platform that redefines the way you build, deploy, and scale apps. Catalyst 2.0 is not a mere upgrade, but a significant leap into the future
    • Set budgets to optionally disable your Catalyst production environment

      Hello all,    We are pleased to inform you that you can now configure the automatic disabling of a project's production environment upon reaching a specified budget's threshold. Budget alerts in Catalyst facilitate setting usage limits in amounts or Catalyst
    • #CatalystServerless Hackathon 2022

      We are pleased to announce #CatalystServerless Hackathon with prizes worth $5000 up for grabs. Create a working prototype aimed to solve a critical business issue using Catalyst and stand a chance to win exciting prizes. The Hackathon will happen in 3
    • Share your interest to participate in the #CatalystServerless Blogathon

      Hi, we are working on announcing the next edition of the #CatalystServerless Blogathon. Please fill up this form to stay posted on all updates related to the Blogathon. https://zfrmz.com/JN9ChxPU9JQpPgB1vRp8

      Catalyst Community