Skip to content

Failed to fetch paginated query response and no cache available. #747

@Shinzoushein

Description

@Shinzoushein

Error
Failed to fetch paginated query response and no cache available.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.AggregateException: One or more errors occurred. (Failed to fetch paginated query response and no cache available.)
 ---> System.Exception: Failed to fetch paginated query response and no cache available.
   at RatScanner.TarkovDevAPI.QueuePaginatedRequest[T](String baseQueryKey, Func`3 queryBuilder, Int64 ttl)
   at RatScanner.TarkovDevAPI.InitializeCache()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at RatScanner.RatScannerMain..ctor()
   at RatScanner.RatScannerMain.get_Instance()
   at RatScanner.View.BlazorUI.<>c.<.ctor>b__11_0(IServiceProvider s)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRun
Log
[05:16:35.6774848] > [Info]  ----- RatScanner 3.9.1 -----
[05:16:35.6804974] > [Info]  Screen Info: 3440x1440 at 100%
[05:16:35.6805117] > [Info]  Initializing TarkovDev API...
[05:16:35.6806939] > [Info]  Attempting to load API cache from offline storage...
[05:16:38.1077005] > [Info]  Loaded 4809 items from offline cache for: "items_En_Regular"
[05:16:38.1465441] > [Info]  Loaded 26 items from offline cache for: "hideout_En_Regular"
[05:16:38.1604137] > [Info]  Loaded 14 items from offline cache for: "maps_En_Regular"
[05:16:38.1605324] > [Warning] Offline cache status - Items: True, Tasks: False, Hideout: True, Maps: True
[05:16:38.1605407] > [Warning] No complete offline cache available, fetching from network...
[05:16:38.1870408] > [Info]  Fetching batch at offset 0 for: "maps_En_Regular"
[05:16:38.1870574] > [Info]  Fetching batch at offset 0 for: "hideout_En_Regular"
[05:16:38.1876225] > [Info]  Fetching batch at offset 0 for: "items_En_Regular"
[05:16:38.1876528] > [Info]  Fetching batch at offset 0 for: "tasks_En_Regular"
[05:16:38.3429603] > [Warning] Failed paginated request for: "tasks_En_Regular".
[05:16:38.3505889] > System.Exception: Tarkov.dev API request failed. Forbidden
   at RatScanner.TarkovDevAPI.Get(String query)
   at RatScanner.TarkovDevAPI.QueuePaginatedRequest[T](String baseQueryKey, Func`3 queryBuilder, Int64 ttl)
[05:16:38.4584210] > [Info]  Fetched 14 items at offset 0 for: "maps_En_Regular"
[05:16:38.4739703] > [Info]  Completed paginated fetch in 309ms: 14 total items for "maps_En_Regular"
[05:16:38.5394039] > [Info]  Fetched 26 items at offset 0 for: "hideout_En_Regular"
[05:16:38.7590047] > [Info]  Completed paginated fetch in 594ms: 26 total items for "hideout_En_Regular"
[05:16:38.8378759] > [Info]  Fetched 1000 items at offset 0 for: "items_En_Regular"
[05:16:38.8384242] > [Info]  Fetching batch at offset 1000 for: "items_En_Regular"
[05:16:39.2419166] > [Info]  Fetched 1000 items at offset 1000 for: "items_En_Regular"
[05:16:39.2424442] > [Info]  Fetching batch at offset 2000 for: "items_En_Regular"
[05:16:39.6735741] > [Info]  Fetched 1000 items at offset 2000 for: "items_En_Regular"
[05:16:39.6740495] > [Info]  Fetching batch at offset 3000 for: "items_En_Regular"
[05:16:39.9934751] > [Info]  Fetched 1000 items at offset 3000 for: "items_En_Regular"
[05:16:39.9939482] > [Info]  Fetching batch at offset 4000 for: "items_En_Regular"
[05:16:40.2646048] > [Info]  Fetched 809 items at offset 4000 for: "items_En_Regular"
[05:16:42.8085757] > [Info]  Completed paginated fetch in 4644ms: 4809 total items for "items_En_Regular"
[05:16:42.8155526] > [Error] Failed to fetch paginated query response and no cache available.
 -------------------- 
 System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.AggregateException: One or more errors occurred. (Failed to fetch paginated query response and no cache available.)
 ---> System.Exception: Failed to fetch p

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions