Skip to content

Error starting indexing: Cannot convert argument to a ByteString because the character at index 7 has a value of 8226 which is greater than 255. #7959

@PavelA85

Description

@PavelA85

App Version

3.28.1

API Provider

VS Code Language Model API

Model Used

text-embedding-3-small

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

  1. start npx --package copilot-api@latest --registry=https://registry.npmjs.org -- copilot-api start --port 8081
  2. start docker run -d --name qdrant-instance -p 6333:6333 qdrant/qdrant && echo 'Qdrant started'
  3. setup indexing:
		"codebaseIndexConfig": {
			"codebaseIndexEnabled": true,
			"codebaseIndexQdrantUrl": "http://localhost:6333",
			"codebaseIndexEmbedderProvider": "openai-compatible",
			"codebaseIndexEmbedderBaseUrl": "",
			"codebaseIndexEmbedderModelId": "text-embedding-3-small",
			"codebaseIndexEmbedderModelDimension": 1536,
			"codebaseIndexSearchMinScore": 0.4,
			"codebaseIndexSearchMaxResults": 50,
			"codebaseIndexOpenAiCompatibleBaseUrl": "http://localhost:8081"
  1. I get error: Error starting indexing: Cannot convert argument to a ByteString because the character at index 7 has a value of 8226 which is greater than 255.

💥 Outcome Summary

Expected to get indexing started, but getting error Error - Cannot convert argument to a ByteString because the character at index 7 has a value of 8226 which is greater than 255.

Only thing helps, is to wipe C:\Users\MyUser\AppData\Roaming\Code - Insiders\ folder
I am using VSCode Insiders 1.105.0-insider (user setup) version

Version: 1.105.0-insider (user setup)
Commit: 2a2f830103fd0f9b46ea56b203bc28e2e22541e9
Date: 2025-09-12T05:03:11.987Z
Electron: 37.3.1
ElectronBuildId: 12342881
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Windows_NT x64 10.0.22631

📄 Relevant Logs or Errors (Optional)

roo-cline extension activated - {"publisher":"RooVeterinaryInc","name":"roo-cline","version":"3.28.1","outputChannel":"Roo-Code"}
[Default Commands Migration] Migration already completed, skipping
Skipping migration of cline_custom_modes.json to custom_modes.json: old file not found
Skipping migration of cline_mcp_settings.json to mcp_settings.json: old file not found
No custom_modes.json found, skipping YAML migration
[CodeIndexManager] Error during background CodeIndexManager configuration/indexing for c:\Projects\MyProjects: Cannot convert argument to a ByteString because the character at index 7 has a value of 8226 which is greater than 255.
CloudService not ready, deferring cloud profile sync
[auth] Using WebAuthService
[auth] changeState: initializing -> attempting-session
[AutoImport] No auto-import settings path specified, skipping auto-import
[auth] changeState: attempting-session -> active-session
[auth] User in personal account context - not setting organization info
Error starting indexing: Cannot convert argument to a ByteString because the character at index 7 has a value of 8226 which is greater than 255.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions