(intermediate).default is not a function

(intermediate).default is not a function

Kindly add the below line at the end of your function 

  1. module.exports=app; 

and then try the same.

    • Related Articles

    • Credit Calculation Catalyst Function

      The 1500,1000 refers to the number of requests that can be executed concurrently.  On an average, 900 - 200 parallel invocations per minute will be the maximum number of function invocations depending on the execution time of 1 - 5s respectively. ...
    • Catalyst Function Execution and Performance

      You will only face higher execution time for function when it is called after a certain period of inactivity. If invoked continuously, you will not face the slowness. You can check the access logs for your function and check the average execution ...
    • Basic I/O Function :Troubleshooting Tips

      Do check in your code whether you have used context.close() anywhere after the function block as it might close the function before sending the response. This might have caused you the issue.  The code within the function block will be executed only ...
    • Catalyst Java Function How to include external jars?

      As of now, you can place the jar files under the lib folder inside your function’s directory and include the jar filenames in .classpath file under your function’s directory. 
    • 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.