CSV import - how to validate/respond with error if incorrect sheet format?

Hey all,

I have a few csv file import API’s. Each has a different heading structure, eg.

ID | email
Or
ID | firstname | lastname

I’d like to respond with an error if the sheet the user has uploaded does not comply with a certain heading structure.

Any ideas if this is possible in Wappler - or this will be custom ?

Community Page
Last updated: