src/Validation/ErrorTranslator.php
public function resourceDoesNotSupportClientIds(string $type, string $path = '/data'): ErrorInterface
    {
        return new Error(
            null,
            null,
            Response::HTTP_FORBIDDEN,
            $this->trans('resource_client_ids_not_supported', 'code'),
            $this->trans('resource_client_ids_not_supported', 'title'),
            $this->trans('resource_client_ids_not_supported', 'detail', compact('type')),
            $this->pointer($path, 'id')
        );
    }
public function resourceDoesNotSupportClientIds(string $type, string $path = '/data'): ErrorInterface
    {
        return new Error(
            null,
            null,
            Response::HTTP_FORBIDDEN,
            $this->trans('resource_client_ids_not_supported', 'code'),
            $this->trans('resource_client_ids_not_supported', 'title'),
            $this->trans('resource_client_ids_not_supported', 'detail', compact('type')),
            $this->pointer($path, 'id')
        );
    }
Create an error for when a resource does not support client-generated ids.

@param string $type
@param string $path
@return ErrorInterface