Deployment fails: Unzipped size must be smaller than 262144000 bytes

Is the function > 50 MB? If so, you may need to reduce its size. You may want to try deploying without the function to see if that is the problem.

More info about debugging functions: [Support Guide] Netlify Lambda Functions 101 & Debugging