src/Validation/ErrorTranslator.php
public function resourceIdNotSupported(string $id, string $path = '/data'): ErrorInterface
    {
        return new Error(
            null,
            null,
            Response::HTTP_CONFLICT,
            $this->trans('resource_id_not_supported', 'code'),
            $this->trans('resource_id_not_supported', 'title'),
            $this->trans('resource_id_not_supported', 'detail', compact('id')),
            $this->pointer($path, 'id')
        );
    }
public function resourceIdNotSupported(string $id, string $path = '/data'): ErrorInterface
    {
        return new Error(
            null,
            null,
            Response::HTTP_CONFLICT,
            $this->trans('resource_id_not_supported', 'code'),
            $this->trans('resource_id_not_supported', 'title'),
            $this->trans('resource_id_not_supported', 'detail', compact('id')),
            $this->pointer($path, 'id')
        );
    }
Create an error for when the resource id is not supported by the endpoint.

@param string $id
the resource id that is not supported.
@param string $path
@return ErrorInterface