The issue you’re facing is due to a misnaming of the filter parameter in the SDK. Instead of filters, the correct parameter name is filter. Additionally, the index parameter is required when filtering by a specific field.
Here’s how you can adjust your code:
// Filtering by a specific field
const result = await Resources.entities.getEntityData(“entity-id-123”, {