You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the entire repo to my local, updated the connection string, then start debug, the API is successfully running up, but when I trying to get token via api/tokens, I got exception in GetTokenAsync() method.
This is the stacktrace:
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable1.GetEnumerator() at Microsoft.EntityFrameworkCore.Internal.InternalDbSet1.System.Collections.Generic.IEnumerable.GetEnumerator()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at FSH.WebApi.Infrastructure.Identity.TokenService.d__6.MoveNext() in E:\fsh\dotnet-webapi-starter-kit-master\src\Infrastructure\Identity\TokenService.cs:line 43
I tried to use postgres and mssql, both of them able to auto create the tables and also inject data when first time running up.
The text was updated successfully, but these errors were encountered:
I cloned the entire repo to my local, updated the connection string, then start debug, the API is successfully running up, but when I trying to get token via api/tokens, I got exception in GetTokenAsync() method.
![image](https://private-user-images.githubusercontent.com/4693858/313452922-a5d7a6d6-10aa-4dc1-9d24-3bb1d7d2b345.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0NzA5MzksIm5iZiI6MTcyMDQ3MDYzOSwicGF0aCI6Ii80NjkzODU4LzMxMzQ1MjkyMi1hNWQ3YTZkNi0xMGFhLTRkYzEtOWQyNC0zYmIxZDdkMmIzNDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDhUMjAzMDM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjBlMWM5MGNiZmY0MjM0YjhkMmI3ZDJlNzQzOGFkYTRkYWY2YjZiNTllMGNkOGM2MjE0ZWQ3OTJmNmYzZTAzMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.eVqxog3Od3UoEbL593vrkigWACAj5hvHHFrQ5wx4hD0)
This is the stacktrace:
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable
1.GetEnumerator() at Microsoft.EntityFrameworkCore.Internal.InternalDbSet
1.System.Collections.Generic.IEnumerable.GetEnumerator()at System.Collections.Generic.List
1..ctor(IEnumerable
1 collection)at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at FSH.WebApi.Infrastructure.Identity.TokenService.d__6.MoveNext() in E:\fsh\dotnet-webapi-starter-kit-master\src\Infrastructure\Identity\TokenService.cs:line 43
I tried to use postgres and mssql, both of them able to auto create the tables and also inject data when first time running up.
The text was updated successfully, but these errors were encountered: