Skip to main content

Invalid entropy

typehttps://docs.frem.sh/reference/api/errors/invalid-entropy
HTTP status400 Bad Request

What it means

The entropy of a custom pattern is not a number from 0 to 8.

What to do

Send a number from 0 to 8, or leave it out.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/invalid-entropy",
  "title": "Bad Request",
  "status": 400,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.