> ## 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.

# Photo Not Assigned

> The barber does not have a profile photo assigned

## Cause

The barber does not have a profile photo assigned. The response may include a `defaultPhoto` attribute carrying a platform-provided photo that callers can render in place of the missing profile photo.

## Fix

Assign an approved photo to the barber profile via the assign barber profile photo endpoint, or render the `defaultPhoto` attribute when one is included on the response, then call the same operation again.

## Retry safety

Not retryable until the underlying state or request changes.

## Raised by

These operations can return this problem:

* [Create an appointment](/api-reference/appointments/create-an-appointment)
* [Get barber profile photo](/api-reference/photos/get-barber-profile-photo)

## Example

```json theme={null}
{
  "type": "https://docs.guile.app/problems/photoNotAssigned",
  "title": "Photo Not Assigned",
  "status": 422,
  "detail": "The barber does not have a profile photo assigned. The response may include a `defaultPhoto` attribute carrying a pla..."
}
```
