Skip to content

wrong_environment

401 · Key from the other environment

A test key was used on the live address, or a live key on the test server.

  • ga_live_ keys work at https://api.ga-oms.com.
  • ga_test_ keys work on our test server only.
  • detail says where the key you sent works.
{
"type": "https://developers.ga-oms.com/errors/wrong_environment",
"title": "Key from the other environment",
"status": 401,
"code": "wrong_environment",
"detail": "…",
"request_id": "req_01JCX7M4Z9Q8R6T5V3W2Y1N0AB"
}

All codes are listed under Errors.