I am new to the Amity APIs and I am using @amityco/ts-sdk to develop social features in my ReactNative application.
I have a problem with fetching community posts.
This error sometime (Not Always) returns when I want to fetch:
{"error": [Error: Amity SDK (400100): Authorization info not found], "loading": false, "origin": "server"}
I am calling await connectClient({userId, displayName}); every time that user opens the app.
Also I can get user’s data by liveUser but I don’t know why I am getting the authorization error when I want to fetch community posts.
Hi. @Tech , did you happen to store the client object after creating the client? Can you show me the client object? There should be userId and connected status to ensure the authorization. Thank you.