@hillary@fool@gualter
But getting error: ERROR Uncaught Exception {"errorType":"Runtime.HandlerNotFound","errorMessage":"deploy-building-background.handler is undefined or not exported","stack":["Runtime.HandlerNotFound: deploy-building-background.handler is undefined or not exported","
Hi @ankitpandeypagefreez, kindly make sure your background function is in the default functions directory via the path YOUR_BASE_DIRECTORY/netlify/functions
Secondly make sure you append your function name with -background. For example, to create a background function with an endpoint name of hello-background, save the function file in one of these ways:
netlify/functions/hello-background.ts
OR
netlify/functions/hello-background/hello-background.ts
OR
netlify/functions/hello-background/index.ts
Kindly make any necessary changes if needed and let me know the outcome.
Thanks.