legacy-knowledge-base
公開されました Jul. 2, 2025

"JSONテキストが配列またはオブジェクトで始まらず、フラグメントを許可するオプションが設定されていない "エラーがLiferay Screens iOS-SDKで発生しました。

written-by

Alfonso Crisci

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • DXP 7.0 プロジェクトで Liferay-iOS-SDK Screenlet でログインしようとすると、以下のエラーが出て操作に失敗します。

    "LoginScreenlet | Failed to log in: Error Domain=com.liferay.mobile.sdk Code=1 \
    "json-parsing-error\" UserInfo={NSLocalizedDescription=json-parsing-error, NSUnderlyingError=0x600003e52d90 {Error Domain=NSCocoaErrorDomain Code=3840 \
    "JSON text did not start with array or object and option to allow fragments not set.\"
    UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}}}"

環境への配慮

  • ライフレイDXP 7.0

決議

did-this-article-resolve-your-issue

legacy-knowledge-base