Some questions regarding achievements

When I checked the “User required” option in the client strategy, I couldn’t obtain the number of achievements and received the following warning: Error response received from backend. ServiceName=[StatsAchievements], OperationName=[GetAchievementDefinitionsV2], Url=[<Redacted>], HttpStatus=[403], ErrorCode=[errors.com.epicgames.common.policy_requires_user], NumericErrorCode=[UNSET], ErrorMessage=[Client xyza7891aHKamG9a30S1msLqwRz4g3Ck requires signed in user for achievements:findAchievementDefinitions], CorrId=[EOS-vmmJ6cnuvUyKH8LW15mhcg-EkeMREDQsU2L7QlQDKvshA].

When I don’t check it, I can obtain the number of achievements.

What happen? Who can tell me?

The “User required” option on your client policy is working as intended. When checked, ALL API calls must include a signed-in user. The fix depends on whether you’re calling this from a game client or a dedicated server.

Game Client: Ensure EOS_Connect_Login completes before calling EOS_Achievements_QueryDefinitions, and pass the resulting ProductUserId as LocalUserId. The “User required” option should stay checked for game clients.

Dedicated Server: Use a separate client with a policy that does NOT have “User required” checked (a trusted server policy). Set bIsServer=true in EOS_Platform_Options. Never ship trusted server credentials in a public game build.

Reference: https://dev.epicgames.com/docs/epic-online-services/eos-fundamentals/client-and-client-policy/client-policy-reference