<@U04S8PLJWMT> ```Unable to bootstrap Airbyte envi...
# ask-ai
k
@kapa.ai
Copy code
Unable to bootstrap Airbyte environment.
java.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Invalid numeric value: Leading zeroes not allowed
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 2]
	at io.airbyte.commons.json.Jsons.deserialize(Jsons.java:101)
	at io.airbyte.data.services.impls.jooq.DbConverter.buildStandardWorkspace(DbConverter.java:194)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.ArrayList$Itr.forEachRemaining(ArrayList.java:1085)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
	at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
	at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
	at io.airbyte.data.services.impls.jooq.WorkspaceServiceJooqImpl.listStandardWorkspaces(WorkspaceServiceJooqImpl.java:169)
	at io.airbyte.bootloader.Bootloader.createWorkspaceIfNoneExists(Bootloader.java:202)
	at io.airbyte.bootloader.Bootloader.load(Bootloader.java:119)
	at io.airbyte.bootloader.Application.main(Application.java:29)
Caused by: com.fasterxml.jackson.core.JsonParseException: Invalid numeric value: Leading zeroes not allowed
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 2]
	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2584)
	at com.fasterxml.jackson.core.JsonParser._constructReadException(JsonParser.java:2610)
	at com.fasterxml.jackson.core.base.ParserMinimalBase.reportInvalidNumber(ParserMinimalBase.java:655)
	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._verifyNLZ2(ReaderBasedJsonParser.java:1705)
	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._verifyNoLeadingZeroes(ReaderBasedJsonParser.java:1692)
	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._parseNumber2(ReaderBasedJsonParser.java:1554)
	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._parseUnsignedNumber(ReaderBasedJsonParser.java:1363)
	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:777)
	at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:5004)
	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4910)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3860)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3828)
	at io.airbyte.commons.json.Jsons.deserialize(Jsons.java:99)
	... 15 common frames omitted
2025-11-21 07:32:48,648 [Thread-2]	INFO	i.m.r.Micronaut(lambda$start$0):118 - Embedded Application shutting down
i tried to downgrade airbyte from 1.7 to 1.5 and i got this issue
k
The error message you are seeing:
Copy code
com.fasterxml.jackson.core.JsonParseException: Invalid numeric value: Leading zeroes not allowed
is a known issue that has affected several Airbyte users, especially during upgrades or downgrades. This error typically occurs when there is malformed data in the database—specifically, a numeric value with leading zeroes in a JSON field that Jackson (the JSON parser used by Airbyte) cannot parse. From the knowledge sources, this issue has been reported when downgrading Airbyte versions (for example, from 1.7 to 1.5 or 1.6.0 to 1.5.1). The root cause is often related to database schema or data incompatibility between versions. Downgrading Airbyte is not always straightforward because newer versions may introduce migrations or data changes that are not backward compatible. Once the database schema or data has been upgraded, rolling back the application version without also rolling back the database can result in these kinds of parsing errors. A workaround that has been suggested for a similar issue is to clean up certain tables in the database (specifically, the
dataplane
and
dataplane_client_credentials
tables) and then retry the installation. Here’s a summary of the workaround: 1. Connect to your Airbyte database pod/container. 2. Access the Airbyte database using
psql
. 3. Run:
Copy code
delete from dataplane_client_credentials;    delete from dataplane;
4. Exit and rerun the installation or upgrade. This process will force Airbyte to recreate the necessary dataplane records and credentials, which has resolved the issue for some users. However, please note that this workaround is specific to the dataplane-related error and may not resolve all cases of the "leading zeroes" JSON parse error. Also, always back up your database before making direct modifications. Additionally, the knowledge sources indicate that downgrading Airbyte after a failed upgrade may not work due to database schema changes. If you must downgrade, you may also need to restore your database from a backup taken before the upgrade attempt to ensure compatibility. If you continue to encounter this issue, it is recommended to upgrade to the latest patch release, as the Airbyte team has released fixes for similar issues in subsequent versions (e.g., 1.6.1 fixed issues present in 1.6.0) [Could not deploy latest (v1.6.0) airbyte community with abctl](https://github.com/airbytehq/airbyte/issues/58587). Summary: - The error is due to malformed JSON data, likely from an incompatible downgrade. - Cleaning up certain tables may help, but the safest approach is to restore the database from a backup matching your target Airbyte version. - Upgrading to the latest patch release is recommended if possible. - Always back up your data before making changes. If you need more specific guidance, please provide details about your deployment (e.g., database type, how you performed the downgrade, etc.) so that more targeted help can be provided.