growthbook / growthbook-sdk-java

The Java SDK for GrowthBook (JVM, Android)
https://docs.growthbook.io/lib/java
MIT License
7 stars 10 forks source link

JsonObject vs. JsonPrimitive error #57

Open august-growthbook opened 1 month ago

august-growthbook commented 1 month ago

Posting this on behalf of a customer.

It looks like we're getting an error while parsing a JSON object containing the features flags and/or initializing the client - ­code

I think the line Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive; at path $ means that the root object (at $) wasn't actually an object, but we thought it could also mean that a particular feature flag contained invalid JSON

For reference, we're using a Java SDK Connection.

Screenshot 2024-05-09 at 11 29 38 AM

Any additional detail / explanation would help

Thanks!

Bohdan-Kim commented 1 month ago

Hello, August! Could you ask client to share client key (API key) in private messages? We would see response from Backend then.

vazarkevych commented 1 month ago

Hi, @august-growthbook. Do we have any updates on that issue?