Hello Jason Koncsol,
This problem often relates to how special characters in IDs (like "/") are handled in Azure Cosmos DB Gremlin API. Could you please share the exact Gremlin query or .NET code snippet you are using to drop the vertex? Also, are you specifying the partition key when trying to remove these vertices, and if so, what is the value being provided? This will help clarify if the error is due to improper ID encoding, partition key mismatch, or API limitation.
If you have additional details about your graph’s schema—such as whether your graph is using custom partition keys or default settings—please provide that as well. This will help pinpoint the best way to remove those problematic vertices.
Meanwhile while you answer above questions, you can try the following solutions
- When referencing vertices with special characters in Gremlin queries, try URL encoding the vertex ID. Replace "/" with "%2F" in your drop operations. For example, if your vertex ID is "SJC20-FPDEVICE-F01SER01-C1M-31/33", use "SJC20-FPDEVICE-F01SER01-C1M-31%2F33" in your Gremlin query.
- Ensure you're specifying the correct partition key when attempting to drop vertices. If your graph uses partition keys, the drop operation must include the proper partition key parameter, especially when using the .NET client.
- Try using the
.hasId()step in your Gremlin traversal instead of direct ID referencing. This approach can sometimes handle special characters more effectively.
Thanks
Pratyush