googleapis / googleapis/google-cloud-java

[java-firestore] endsWith sample throws error

Open
#13,092 1 comment 0 reactions 1 assignee Claimed by @morganchen12 View on GitHub
api: firestore samples
Dominant language
Java
Stars
2.1k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
154

Description

https://github.com/googleapis/java-firestore/blob/be110eedb85ea5e83740057a7771ddb238dfa64d/samples/preview-snippets/src/main/java/com/example/firestore/PipelineSnippets.java#L1271-L1282

throws error

```java
java.util.concurrent.ExecutionException: com.google.api.gax.rpc.InvalidArgumentException: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: Invalid property path "16InLaptops". Unquoted property paths must match regex ([a-zA-Z_][a-zA-Z_0-9]*), and quoted property paths must match regex (`(?:[^`\\]|(?:\\.))+`)

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.