> ## Documentation Index
> Fetch the complete documentation index at: https://developers.tassyir.io/llms.txt
> Use this file to discover all available pages before exploring further.

# OFFER_NOT_CODE_METHOD

> HTTP 409, from 2 operations of the Admin API.

Its problem `type`: `https://developers.tassyir.io/errors/offer-not-code-method`; its `title`: Conflict.

## What to do

Only an offer created with method "code" has codes; create a code offer to use them.

## Answered by

HTTP 409, from:

* [`POST /offers/{id}/codes`](/api-reference/admin/offers/add-a-code-to-an-offer)
* [`POST /offers/{id}/codes/bulk`](/api-reference/admin/offers/add-up-to-250-codes-to-an-offer)

The shape of every problem, and how `@tassyir/app` reports it: [Errors](/guides/errors).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.