Service environment Not Found

service-environment-not-found · 404

An operator route found no service in that environment by that identifier.

Only operators reach the routes that send it. resourceId repeats the identifier the API looked up. Here resourceId is <service>/<environment>, and nothing of the service runs in that environment.

Besides the members every error carries, this type adds resourceType and resourceId.

Common causes

  • The identifier is wrong: it matches no record.

How to fix the call

  • Read resourceId and compare it with the value you meant to send.
  • Don't retry unchanged: the same call answers the same 404 for as long as nothing changes.

Example response

json
{
  "type": "service-environment-not-found",
  "title": "Service environment Not Found",
  "detail": "Service environment with ID '0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402' was not found",
  "resourceType": "Service environment",
  "resourceId": "0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402",
  "requestId": "req-1785231000000-4f7b2c9ae",
  "timestamp": "2026-07-28T09:30:00.000Z",
  "path": "/v1/abuse/admin/services/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/environments/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402/suspend",
  "method": "POST",
  "instance": "POST /v1/abuse/admin/services/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/environments/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad402/suspend",
  "status": 404,
  "docs": "https://ghaym.me/docs/errors/service-environment-not-found"
}