---
title: My function does not deploy properly
description: Troubleshoot issues with deployment errors while using Scaleway Serverless Functions.
tags: serverless functions troubleshooting issue error build compile package
dates:
  validation: 2025-09-01
  posted: 2025-02-10
---

## Problem

My Serverless Function does not build properly.

## Cause

This error may happen for multiple reasons. Refer to the documentation pages below to identify the problem.

## Possible solution

1. Make sure your function works fine by [testing it locally](/serverless-functions/reference-content/local-testing/).

2. Check for [build errors with Cockpit](/serverless-functions/how-to/monitor-function/).

3. Make sure your function is [properly packaged](/serverless-functions/how-to/package-function-dependencies-in-zip/).

4. Check our [code examples](/serverless-functions/reference-content/code-examples/) to find out how Scaleway Serverless Functions are structured.
