MCP Client
Other (specify in description)
Context7 MCP Version
NA
Bug Description
Description
An error occurred during the documentation processing pipeline for the APEXlang API Reference. The parser successfully chunked the index.md file and extracted 1,154 snippets, but the final validation failed, reporting a negative snippet count and triggering a "too few code snippets" error.
URL of the Documentation
https://docs.oracle.com/en/database/oracle/apex/26.1/apxln/
Logs & Metadata
Tokens: -1
Snippets: -2
Trust Score: 9.1
Update: 1 day ago
##Processing Timeline:
Jul 1, 16:46:30 - Snippet already processed (chunked), removed from array (90)
Jul 1, 16:46:46 - Info Snippet already processed (chunked), removed from array (9)
Jul 1, 17:03:59 - Processed chunked file: index.md (333 chunks, 1154 snippets, model: gemini-2.5-flash-lite)
Result: Error: No (or too few) code snippets found in documentation files.
Steps to Reproduce
Not possible to reproduce:
The library [/websites/oracle_en_database_oracle_apex_26_1_apxln](https://context7.com/websites/oracle_en_database_oracle_apex_26_1_apxln) already exists. You can provide a base URL to limit crawling to specific pages.
Expected Behavior
The parser should recognize the 1,154 processed snippets from index.md as a successful extraction and complete the library processing without throwing an error.
Actual Behavior
The system records an impossible negative snippet count (Snippets: -2) after the array-removal steps, causing the job to fail the minimum snippet threshold check.
Error Messages / Logs
Transport Method
stdio (default)
Node.js Version
No response
Operating System
No response
Configuration
Additional Context
No response
MCP Client
Other (specify in description)
Context7 MCP Version
NA
Bug Description
Description
An error occurred during the documentation processing pipeline for the APEXlang API Reference. The parser successfully chunked the
index.mdfile and extracted 1,154 snippets, but the final validation failed, reporting a negative snippet count and triggering a "too few code snippets" error.URL of the Documentation
https://docs.oracle.com/en/database/oracle/apex/26.1/apxln/
Logs & Metadata
##Processing Timeline:
Jul 1, 16:46:30 - Snippet already processed (chunked), removed from array (90)
Jul 1, 16:46:46 - Info Snippet already processed (chunked), removed from array (9)
Jul 1, 17:03:59 - Processed chunked file: index.md (333 chunks, 1154 snippets, model: gemini-2.5-flash-lite)
Result: Error: No (or too few) code snippets found in documentation files.
Steps to Reproduce
Not possible to reproduce:
Expected Behavior
The parser should recognize the 1,154 processed snippets from index.md as a successful extraction and complete the library processing without throwing an error.
Actual Behavior
The system records an impossible negative snippet count (Snippets: -2) after the array-removal steps, causing the job to fail the minimum snippet threshold check.
Error Messages / Logs
Transport Method
stdio (default)
Node.js Version
No response
Operating System
No response
Configuration
Additional Context
No response