Created
March 19, 2018 09:35
-
-
Save ryanmats/7efc444b9214dbab149d54f7fd446381 to your computer and use it in GitHub Desktop.
C# Firestore - UpdateAsync with Nested Fields Dot Notation - Error Message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment