Message: The offset specified in a OFFSET clause may not be negative.
InnerExceptionMessage:
StackTrace: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
at Microsoft.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
at Microsoft.Data.SqlClient.SqlDataReader.Read()
at Microsoft.EntityFrameworkCore.Storage.RelationalDataReader.Read()
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at TwoPlusTwo.Backend.DatabaseFunctions.GetForumWideThreadsByLastPostDate(Database database, Boolean hasDeletedThreads, Int32 pageIndex, Int32 pageSize) in D:\a\TwoPlusTwo.Backend\TwoPlusTwo.Backend\src\TwoPlusTwo.Backend\Database.Functions.cs:line 1746
at TwoPlusTwo.Backend.GraphResolvers.GetForumWideThreads(Int32 pageIndex, Database database, Request request) in D:\a\TwoPlusTwo.Backend\TwoPlusTwo.Backend\src\TwoPlusTwo.Backend\Graph.Resolvers.cs:line 269
at InvokeStub_GraphResolvers.GetForumWideThreads(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of stack trace from previous location ---
at GraphQL.ResolverHelper.ResolveObject(MethodInfo resolver, MethodInput resolverArguments) in D:\a\TwoPlusTwo.Backend\TwoPlusTwo.Backend\GraphQL\src\GraphQL\Resolver.Helper.cs:line 619
at GraphQL.ResolverHelper.ResolveObjectProperty(DynamicObject object, Type graphType, PropertyQuery propertyQuery, ResolverContext resolverContext, MethodInput resolverInput, ILogger logger) in D:\a\TwoPlusTwo.Backend\TwoPlusTwo.Backend\GraphQL\src\GraphQL\Resolver.Helper.cs:line 546
at GraphQL.ResolverHelper.ResolveObjectProperties(DynamicObject object, Type graphType, IQuery query, ResolverContext resolverContext, ILogger logger) in D:\a\TwoPlusTwo.Backend\TwoPlusTwo.Backend\GraphQL\src\GraphQL\Resolver.Helper.cs:line 301
at GraphQL.ResolverHelper.ExecuteQuery(IQuery query, ResolverContext resolverContext, ILogger logger) in D:\a\TwoPlusTwo.Backend\TwoPlusTwo.Backend\GraphQL\src\GraphQL\Resolver.Helper.cs:line 90
at GraphQL.ResolverHelper.ExecuteDocument(Document document, ImmutableDictionary`2 variables, ResolverContext resolverContext, ILogger logger)+MoveNext() in D:\a\TwoPlusTwo.Backend\TwoPlusTwo.Backend\GraphQL\src\GraphQL\Resolver.Helper.cs:line 32
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at GraphQL.GraphQLHelper.<GetGraphQLResponse>g__GetGraphQLResponse|2_0(<>c__DisplayClass2_0&) in D:\a\TwoPlusTwo.Backend\TwoPlusTwo.Backend\GraphQL\src\GraphQL\GraphQL.Helper.cs:line 43
at GraphQL.GraphQLHelper.GetGraphQLResponse(GraphQLRequest request, ResolverContext resolverContext, ILogger logger) in D:\a\TwoPlusTwo.Backend\TwoPlusTwo.Backend\GraphQL\src\GraphQL\GraphQL.Helper.cs:line 27