What am I doing wrong? (Coding Syntax Error)

Why do I get red lines on fieldName and order? I’m following the API reference here:

The error says: Type 'string[]' is not assignable to type 'string'

But I’m doing what the linked reference says, and have tried various setups from the reference.

1 Like

Solution:

Add “_” before “createdDate”

and delete “.orders”

1 Like

(Coding Syntax Error) nicee :muscle:

1 Like