I have…
- [ X] Read the following guideline: https://docs.squidex.io/01-getting-started/installation/troubleshooting-and-support. I understand that my support request might get deleted if I do not follow the guideline.
- [ X] Used code blocks with ``` to format my code examples like JSON or logs properly.
I’m submitting a…
- Regression (a behavior that stopped working in a new release)
- Bug report
- Performance issue
- [ X] Documentation issue or request
Current behavior
Getting an exception:
When filter is:
var assets = await Client.GetAssetsAsync(new AssetQuery()
{
Filter = $"data.name eq 'userId'"
}, cancellationToken);
OData $filter clause not valid: The child type ‘data.name’ in a cast was not an entity type. Casts can only be performed on entity types.
var assets = await Client.GetAssetsAsync(new AssetQuery()
{
Filter = $"name eq 'userId'"
}, cancellationToken);
OData $filter clause not valid: Could not find a property named ‘name’ on type ‘Squidex.Asset’.
Expected behavior
Is there documentation that shows the fields available to filter on? Any relevant examples I can look at? I’m using the .NET SDK to interact with the API.
Minimal reproduction of the problem
Environment
App Name:
- [X ] Self hosted with docker
- Self hosted with IIS
- Self hosted with other version
- Cloud version
Version: 7