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

# location-required

> The new site's address is needed before a charger is added.

| Status | Title |
| - | - |
| `409` | The address is needed first |

## Where you see it

Only inside the hosted flow, which handles it. You don't need to handle it in your app or on your server.

## What it means

With `scope.new_site`, an `add` link session has no site until your user enters the address. Adding a charger before that is refused.

The hosted flow asks for the address first.

## What to do

Nothing. If you already know the address, send it as `scope.location` and your user isn't asked.

## Example

```json theme={null}
{
  "type": "https://developer.plugchoice.com/sdk/errors/location-required",
  "title": "The address is needed first",
  "status": 409,
  "code": "location-required",
  "detail": "Set the location before registering a charger."
}
```


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