Skip to content

SDK 1.2.0 fails to initialize with Cloud environment - MissingFieldException for LanguageDetail.projectId #54

Description

@Arunkumar-WSE

Android SDK: 1.2.0

Existing Production Android and iOS app previously working now facing issues , No application code changes

Issue:
Formbricks initialization fails with:
Field 'projectId' is required for type with serial name 'com.formbricks.android.model.environment.LanguageDetail', but it was missing
Initialization code:
Formbricks.setup(this, config, forceRefresh = true)

Observed behavior:
Surveys are not displayed.
SDK retries initialization and eventually fails.

Investigation:
Same Formbricks Cloud environment and credentials.
Upgrading SDK from 1.2.0 to 2.0.0 resolves the issue completely.
No changes were made to the Android application code.

Expected behavior:
SDK 1.2.0 should either remain compatible with the current Cloud response or fail with a clearer compatibility message.

Log:
Retry 2 due to error: Field 'projectId' is required for type with serial name 'com.formbricks.android.model.environment.LanguageDetail', but it was missing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions