<@U04S8PLJWMT> trying to login and getting on OSS:...
# ask-ai
a
@kapa.ai trying to login and getting on OSS: // HttpError { "i18nKey": "errors.http.internalServerError", "i18nParams": { "status": 500 }, "name": "HttpError", "requestId": "5NepSQ3Giqmn341tqWezWs", "request": { "url": "/api/v1/workspaces/get", "method": "post", "headers": { "Content-Type": "application/json" }, "data": { "workspaceId": "7df3247f-e8e2-4e1b-a7e9-7c0a1272b4a0" } }, "status": 500, "response": { "message": "Internal Server Error: com.fasterxml.jackson.core.JsonParseException: Invalid numeric value: Leading zeroes not allowed\n at [Source: REDACTED (
StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION
disabled); line: 1, column: 2]", "exceptionClassName": "java.lang.RuntimeException",
k
The error message you are seeing:
Copy code
Internal Server Error: com.fasterxml.jackson.core.JsonParseException: Invalid numeric value: Leading zeroes not allowed
indicates that Airbyte OSS is encountering a problem parsing a JSON value, specifically due to a numeric value with leading zeroes, which is not allowed by the JSON specification. This issue has been reported by other users when deploying or running Airbyte OSS, particularly with recent versions. The root cause is often an invalid value in a configuration or database record that contains a number with leading zeroes. For example, a value like
0123
in JSON is invalid; it should be
123
instead. How to resolve: - If you recently upgraded or installed Airbyte, check your configuration files and any custom JSON you may have provided for numeric values with leading zeroes and correct them. - If you are using a database backend, there may be a record with an invalid numeric value. In some cases, users have resolved similar issues by cleaning up problematic records in the database. For example, for issues with dataplane credentials, users have deleted certain records from the database and reinstalled Airbyte, as described in this workaround:
Copy code
kind export kubeconfig -n airbyte-abctl   kubectl exec -it -n airbyte-abctl airbyte-db-0 -- /bin/bash   psql -U airbyte db-airbyte   delete from dataplane_client_credentials ;   delete from dataplane;   \q   exit
Then, rerun the installation. This recreates the necessary records in the correct format. (Note: This is specific to certain deployment types and may not apply to all environments) [Could not deploy latest (v1.6.0) airbyte community with abctl](https://github.com/airbytehq/airbyte/issues/58587). - The Airbyte team has released fixes for this issue in version 1.6.1 and later. If you are running an earlier version, upgrading to the latest version is recommended, as users have confirmed the issue is resolved in newer releases [Could not deploy latest (v1.6.0) airbyte community with abctl](https://github.com/airbytehq/airbyte/issues/58587). If you continue to experience this error after checking your configuration and upgrading, please provide more details about your setup and any recent changes. Let me know if you need more specific guidance for your deployment method.
a
@kapa.ai i run this and then the installation again but got now: "status": 500 }, "name": "HttpError", "requestId": "bx4qTeV7ZGY9zEiFQ5bDMQ", "request": { "url": "/api/v1/workspaces/get", "method": "post", "headers": { "Content-Type": "application/json" }, "data": { "workspaceId": "7df3247f-e8e2-4e1b-a7e9-7c0a1272b4a0" } }, "status": 500, "response": { "message": "Internal Server Error: com.fasterxml.jackson.core.JsonParseException: Invalid numeric value: Leading zeroes not allowed\n at [Source: REDACTED (
StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION
disabled); line: 1, column: 2]", "exceptionClassName": "java.lang.RuntimeException", "exceptionStack": [], "rootCauseExceptionStack": [] } }
k
A message from kapa.ai
The error you are encountering:
Copy code
Internal Server Error: com.fasterxml.jackson.core.JsonParseException: Invalid numeric value: Leading zeroes not allowed
is a known issue that has affected several Airbyte OSS users, especially during upgrades or fresh installations. This error typically means that somewhere in your Airbyte configuration or database, there is a numeric value with leading zeroes, which is not valid JSON and causes the backend to fail when parsing it. From the knowledge sources, users have reported this exact error during installation or upgrade, and it was resolved in Airbyte version 1.6.1 and later. The recommended steps are: 1. Upgrade Airbyte: If you are not already on version 1.6.1 or later, upgrade to the latest version, as this issue has been fixed in those releases. Users confirmed that upgrading resolved the problem for them. 2. Database Cleanup: If you have already tried deleting records from the
dataplane
and
dataplane_client_credentials
tables and are still seeing the error, it is possible that there are other records in your database with invalid numeric values. The knowledge sources do not provide a more specific fix for this scenario, but the general advice is to ensure all numeric values in your configuration and database do not have leading zeroes. 3. Reinstallation: Some users found that a clean installation (including dropping and recreating the database) resolved the issue, but this will remove all existing data. If you have already performed the database cleanup and are running the latest version but still encounter this error, the knowledge sources do not provide a more detailed solution. In that case, you may need to inspect your database for any other fields with invalid numeric values or reach out to the Airbyte community for further assistance. References: - [Could not deploy latest (v1.6.0) airbyte community with abctl. Same version used to work last week.](https://github.com/airbytehq/airbyte/issues/58587) If you need more targeted help, please provide your Airbyte version and any recent changes to your deployment.