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

# Invalid Appointment State For Payment Link

> The appointment cannot receive a payment link

## Cause

The appointment state does not allow a payment-link send.

## Fix

Refresh the appointment and use the returned payment-link send state before retrying.

## Retry safety

Not retryable until the underlying state or request changes.

## Raised by

These operations can return this problem:

* [Schedule an appointment payment link](/api-reference/appointments/schedule-an-appointment-payment-link)

## Example

```json theme={null}
{
  "type": "https://docs.guile.app/problems/invalidAppointmentStateForPaymentLink",
  "title": "Invalid Appointment State For Payment Link",
  "status": 422,
  "detail": "The appointment state does not allow a payment-link send."
}
```
