---
title: RELKIT_BUCKET_DEPENDENCY_UNDECLARED
description: "Bucket is not declared on this function."
pagination: false
search:
  keywords: [RELKIT_BUCKET_DEPENDENCY_UNDECLARED]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Bucket is not declared on this function.**

## What happened

A function used a bucket that is not listed in its dependencies.

## What to do

Add the bucket to the function's `dependencies`, for example `dependencies: { buckets: { assets } }`.

Reported by `relkit/buckets`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
