The request function does not work and returns this error in the log:
System.AggregateException: One or more errors occurred. ---> System.Text.Json.JsonReaderException: 'a' is an invalid start of a property name. Expected a '"'. LineNumber: 0 | BytePositionInLine: 1.
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.JsonDocument.Parse(ReadOnlySpan1 utf8JsonSpan, Utf8JsonReader reader, MetadataDb& database, StackRowStack& stack) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedBytes)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 json, JsonDocumentOptions options) at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options) at YoutubeExplode.Internal.Json.Parse(String source) at YoutubeExplode.Internal.Extensions.GenericExtensions.Pipe[TIn,TOut](TIn input, Func2 transform)
at YoutubeExplode.ReverseEngineering.Responses.WatchPage.TryGetPlayerConfig()
at YoutubeExplode.Videos.Streams.StreamClient.d4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at YoutubeExplode.Videos.Streams.StreamClient.d6.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
at RequestPlugin.VoteCommand.RequestCommand.Execute(User executor, List1 arguments) at RequestifyTF2.Commands.Executer.<>c__DisplayClass0_0.<Execute>b__0() in C:\projects\requestifytf2\src\Core\RequestifyTF2\Commands\Executer.cs:line 80 ---> (Inner Exception #0) System.Text.Json.JsonReaderException: 'a' is an invalid start of a property name. Expected a '"'. LineNumber: 0 | BytePositionInLine: 1. at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.JsonDocument.Parse(ReadOnlySpan1 utf8JsonSpan, Utf8JsonReader reader, MetadataDb& database, StackRowStack& stack)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedBytes) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 json, JsonDocumentOptions options)
at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
at YoutubeExplode.Internal.Json.Parse(String source)
at YoutubeExplode.Internal.Extensions.GenericExtensions.Pipe[TIn,TOut](TIn input, Func`2 transform)
at YoutubeExplode.ReverseEngineering.Responses.WatchPage.TryGetPlayerConfig()
at YoutubeExplode.Videos.Streams.StreamClient.d4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at YoutubeExplode.Videos.Streams.StreamClient.d6.MoveNext()<---
I have tested it on both my laptop and desktop, so I don't think it has anything to do with any computer setting. Was able to get previous versions to work just fine, but now old versions return with errors suggesting that there's an error on YouTube's end, and is probably not a code bug, and to wait and try again, but this message keeps returning everytime I try and use the request command.
The request function does not work and returns this error in the log:
System.AggregateException: One or more errors occurred. ---> System.Text.Json.JsonReaderException: 'a' is an invalid start of a property name. Expected a '"'. LineNumber: 0 | BytePositionInLine: 1. at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.JsonDocument.Parse(ReadOnlySpand4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at YoutubeExplode.Videos.Streams.StreamClient.d 6.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Taskd4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at YoutubeExplode.Videos.Streams.StreamClient.d 6.MoveNext()<---
1 utf8JsonSpan, Utf8JsonReader reader, MetadataDb& database, StackRowStack& stack) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory
1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedBytes) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 json, JsonDocumentOptions options) at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options) at YoutubeExplode.Internal.Json.Parse(String source) at YoutubeExplode.Internal.Extensions.GenericExtensions.Pipe[TIn,TOut](TIn input, Func
2 transform) at YoutubeExplode.ReverseEngineering.Responses.WatchPage.TryGetPlayerConfig() at YoutubeExplode.Videos.Streams.StreamClient.1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task
1.get_Result() at RequestPlugin.VoteCommand.RequestCommand.Execute(User executor, List1 arguments) at RequestifyTF2.Commands.Executer.<>c__DisplayClass0_0.<Execute>b__0() in C:\projects\requestifytf2\src\Core\RequestifyTF2\Commands\Executer.cs:line 80 ---> (Inner Exception #0) System.Text.Json.JsonReaderException: 'a' is an invalid start of a property name. Expected a '"'. LineNumber: 0 | BytePositionInLine: 1. at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.JsonDocument.Parse(ReadOnlySpan
1 utf8JsonSpan, Utf8JsonReader reader, MetadataDb& database, StackRowStack& stack) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedBytes) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory
1 json, JsonDocumentOptions options) at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options) at YoutubeExplode.Internal.Json.Parse(String source) at YoutubeExplode.Internal.Extensions.GenericExtensions.Pipe[TIn,TOut](TIn input, Func`2 transform) at YoutubeExplode.ReverseEngineering.Responses.WatchPage.TryGetPlayerConfig() at YoutubeExplode.Videos.Streams.StreamClient.I have tested it on both my laptop and desktop, so I don't think it has anything to do with any computer setting. Was able to get previous versions to work just fine, but now old versions return with errors suggesting that there's an error on YouTube's end, and is probably not a code bug, and to wait and try again, but this message keeps returning everytime I try and use the request command.