Skip to content

Instantly share code, notes, and snippets.

@ryanmats
Created March 19, 2018 09:35
Show Gist options
  • Select an option

  • Save ryanmats/7efc444b9214dbab149d54f7fd446381 to your computer and use it in GitHub Desktop.

Select an option

Save ryanmats/7efc444b9214dbab149d54f7fd446381 to your computer and use it in GitHub Desktop.

Revisions

  1. ryanmats created this gist Mar 19, 2018.
    22 changes: 22 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    Unhandled Exception: System.AggregateException: One or more errors occurred. (Status(StatusCode=InvalidArgument, Detail="Entity has a nested entity property named 'Favorites' as well as a property prefixed with 'Favorites.', this results in name collision.")) ---> Grpc.Core.RpcException: Status(StatusCode=InvalidArgument, Detail="Entity has a nested entity property named 'Favorites' as well as a property prefixed with 'Favorites.', this results in name collision.")
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass0_0`2.<<WithRetry>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Google.Cloud.Firestore.WriteBatch.<CommitAsync>d__13.MoveNext() in C:\Users\jon\Test\Projects\google-cloud-dotnet\releasebuild\apis\Google.Cloud.Firestore\Google.Cloud.Firestore\WriteBatch.cs:line 202
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Google.Cloud.Firestore.DocumentReference.<UpdateAsync>d__20.MoveNext() in C:\Users\jon\Test\Projects\google-cloud-dotnet\releasebuild\apis\Google.Cloud.Firestore\Google.Cloud.Firestore\DocumentReference.cs:line 134
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    at GoogleCloudSamples.QuickStartFirestoreProgram.<UpdateNestedFields>d__10.MoveNext() in /Users/ryanmats/testing/dotnet-docs-samples/firestore/api/AddData/Program.cs:line 224
    --- 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 GoogleCloudSamples.QuickStartFirestoreProgram.Main(String[] args) in /Users/ryanmats/testing/dotnet-docs-samples/firestore/api/AddData/Program.cs:line 275