LiveSplit / LiveSplit/SpeedrunComSharp

Strange error on submitting.

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
32
Forks
11
PR merge metrics
No merged PRs in 30d

Description

When I use the api to submit a run, it returns the following error.

SpeedrunComSharp.APIException was unhandled HResult=-2147024809 Message=There are problems with your submitted run, see the errors attached. Source=SpeedrunComSharp StackTrace: at SpeedrunComSharp.SpeedrunComClient.DoPostRequest(Uri uri, String postBody) in C:\Users\jakef_000\Downloads\SpeedrunComSharp-master\SpeedrunComSharp-master\SpeedrunComSharp\SpeedrunComClient.cs:line 177 at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at SpeedrunComSharp.RunsClient.Submit(String categoryId, String platformId, String levelId, Nullable1 date, String regionId, Nullable1 realTime, Nullable1 realTimeWithoutLoads, Nullable1 gameTime, Nullable1 emulated, Uri videoUri, String comment, Uri splitsIOUri, IEnumerable1 variables, Nullable1 verify, Boolean simulateSubmitting) in C:\Users\jakef_000\Downloads\SpeedrunComSharp-master\SpeedrunComSharp-master\SpeedrunComSharp\Runs\RunsClient.cs:line 217
at SpeedruncomTool.Program.Main(String[] args) in C:\Users\jakef_000\Documents\Visual Studio 2015\Projects\SpeedruncomTool\SpeedruncomTool\Program.cs:line 28
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
`

What does this mean, and how can I fix?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at SpeedrunComSharp.RunsClient.Submit in SpeedrunComSharp/Runs/RunsClient.cs:217, then inspect SpeedrunComClient.DoPostRequest in SpeedrunComSharp/SpeedrunComClient.cs:177. Check the APIException's attached errors and the submitted parameters to determine which input the API rejects. Done means identifying the invalid submission data and documenting or reproducing the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.