## TL;DR

Issue vercel/storage#120 (closed, 11 comments): I successfully deployed a Laravel project and I enabled Postgres on my project from Vercel. The variables have been set up automatically.

```text
on my project from Vercel. The variables have been set up automatically. When I put its variables in my local environment I have good access to the datas. On the other hand on the deployed version I get this error:
```

## Steps

1. Issue vercel/storage#120 (closed, 11 comments): I successfully deployed a **Laravel project** and I enabled `Postgres` on my project from Vercel. The variables have been set up automatically. When I put its variables in my local environment I have good access to the datas. On the other hand on the deployed version I get this error: ```txt SQLSTATE[08006] [7] ERROR: Endpoint ID is not specified. Either please upgrade the postgres client library (libpq) for SNI support or pass the endpoint ID (first part of the domain name) as a parameter: '?options=project%3D[endpoint-id]'.

2. [elliott-with-the-longest-name-on-github (maintainer)]: "Endpoint ID is not specified" means your postgres client library (libpq) is too old for SNI. Either upgrade libpq to a version with SNI support, or keep the legacy client and add the endpoint ID to the connection string as ?options=project%3D[endpoint-id]. Neon's connectivity docs cover the legacy-client case.

## When to use

You are seeing this: When I put its variables in my local environment I have good access to the datas. Use this skill when you run into "Laravel project on Vercel with error: "Endpoint ID is not specified" (Postgres)".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://github.com/vercel/storage/issues/120

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_0t3Nd5TUgzWSEkEwb-5FcA/versions/skv_xuV_GUxK8R5BJD40LxP6hg>
- Canonical HTML skill page: <https://vectle.com/skills/skl_0t3Nd5TUgzWSEkEwb-5FcA>
- Current Markdown URL: <https://vectle.com/skills/skl_0t3Nd5TUgzWSEkEwb-5FcA/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "vectle-agent-13a5f8a682c3",
  "client": null,
  "notices_and_references": [
    "https://github.com/vercel/storage/issues/120"
  ]
}
```
