Error
Error Code:
3670
MySQL Error 3670: Excessive JSON_TABLE Nested Paths
Description
Error 3670 indicates that the `JSON_TABLE` function encountered JSON data with more nested paths than MySQL supports internally. This typically occurs when attempting to parse very deep or complex JSON structures using `JSON_TABLE`, exceeding a hard-coded limit within the database server.
Error Message
More than supported %u NESTED PATHs were found in JSON_TABLE '%s'
Known Causes
4 known causesDeeply Nested JSON Data
The JSON data being processed by `JSON_TABLE` contains an excessive number of nested paths, exceeding the maximum supported by MySQL.
Overly Complex Path Expressions
The path expressions defined within the `JSON_TABLE` function are too intricate, leading to a high number of internal nested paths during parsing.
Very Large JSON Documents
While not always the sole cause, extremely large JSON documents can contribute to hitting the nested path limit, especially if combined with deep nesting.
MySQL Version Limitations
Older MySQL versions might have lower internal limits for `JSON_TABLE` nested paths compared to newer releases, making them more prone to this error.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service