Error initializing the SDK


Following the recommendation of the documentation for initializing the sdk using jwtToken, no matter how I generate the token, it always returns error code 1, if using appSecret and appKey, everything works normally.

Which version?

Hi @elias.ferreira,

Thanks for the post. The tokenExp should be a timestamp that is at least 30 mins later than the iat, so it would be tokenExp = iat + 3600

Please have a try.


1 Like