錯誤訊息
Error: response status is 400
Only the invariant culture is supported in globalization-invariant mode.
en-us is an invalid culture identifier.
解決方法
project.csproj中的<InvariantGlobalization>改成false
1
2
3
4
5
6
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>false</InvariantGlobalization>
</PropertyGroup>