APIs get removed when deploying

APIs get removed when deploying

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. 
    • Related Articles

    • File in Catalyst File Store; Get file name

      You can use the getFileDetails method available in the Node SDK in order to get the name of a file before downloading it. A sample code snippet for getting file name and other file details is as follows :      let filestore = app.filestore();     let ...
    • Get execution context for functions

      We have now introduced the watch mode for the catalyst serve command. This command will help you with hot code replacement once any changes are being done and the code is saved. The command is as follows : catalyst serve —watch
    • Invalid API error

      If you have enabled API Gateway, the URLs of your functions and web client will become inaccessible until you create APIs for them. You can either create APIs for your functions and client or you can disable the API Gateway from your Catalyst console ...
    • Any new function is not loading

      As we checked from our end, you have enabled API Gateway for your project. If you have enabled API Gateway, the URLs of your functions and web client will become inaccessible until you create APIs for them. You can either create APIs for your ...
    • Basic I/O function doesn't accept request body

      you have created a Basic IO function for which you have sent the payload in request body. For Basic IO functions, the request data should be sent via the query parameters in GET method.