Authorization Bearer is empty when try to create session

When I tried to create a session, it poped up the error message:

Authorization Bearer is empty

My code is:

void UABUnrealTestGameInstance::CreateGameSession()
{
    AccelByte::FApiClientPtr ApiClient = AccelByte::FMultiRegistry::GetApiClient();

    FAccelByteModelsV2GameSessionCreateRequest Request;
    Request.ConfigurationName = "5to5"; // MANDATORY

    ApiClient->Session.CreateGameSession(Request, THandler<FAccelByteModelsV2GameSession>::CreateLambda( [&](const FAccelByteModelsV2GameSession &Result)
    {
        UE_LOG(LogTemp, Warning, TEXT("### Session successfuly created!"));
        UE_LOG(LogTemp, Warning, TEXT("### Session ID: %s"), *(Result.ID));

        // Do something when operation success
    }),
    FErrorHandler::CreateLambda( [&](int32 ErrorCode, const FString &ErrorMessage)
    {
        UE_LOG(LogTemp, Warning, TEXT("### Session creation ERROR: %s"), *ErrorMessage);
    }));
}

I configured the session in dashboard as below:

I integrated SteamSDK, and I can confirm it works well, as Steam Overlay shows up my Steam account.

I’m not sure what Authorization is missing.

Thank you in advance.

Hello @chong_chamogames

Could you give us a bit more context on how you login? Are you using Steam authentication?

@chong_chamogames also make sure that you are not creating a gaming session inmediately after loggin. That is a possible cause for that error.

If you are programatically creating a session inmediately after the login, I would add a 1 or 2 seconds delay timer before the CreateSession call.

Let us know if that helps or you are still experiencing issues.