- 1 Paste the header or map
You will see the localhost warning. That is the detector working, not a crash.
- 2 Rewrite domains in JSON
Output is JSON Array. Change
"domain": "localhost"to the API host, with a leading dot if subdomains should receive the cookie. SethostOnlyaccordingly. - 3 Import on that origin
Open the matching site in Chrome, CookieMan Import, Apply. Or export Netscape after the domain edit for curl.
Message → cause → fix
| Message | Cause | Fix |
|---|---|---|
Header string format has no domain info; defaulted to localhost | Cookie request header | Edit domain in JSON; prefer Set-Cookie if you have it |
Cookie "name" from map has no domain, defaulted to localhost | JSON map of strings | Use JSON Array from CookieMan instead of a map |
Cookie "name" missing domain, defaulted to localhost | JSON object without domain | Add domain on the object |
example.com. Guessing would write cookies onto the wrong host. The warning is the product behaving correctly. Minimal JSON after you fix the host
[
{
"name": "session_id",
"value": "abc123",
"domain": ".example.com",
"path": "/",
"hostOnly": false,
"secure": true,
"httpOnly": true,
"sameSite": "lax"
}
]