Closed AmanajasLG closed 3 years ago
Hey @AmanajasLG I don't think the sheets are available yet in the BeforeImport event, they only get loaded when the sheet import starts. You might need to use BeforeSheet
instead.
Awesome :) that worked, thank you so much
This bug report has been automatically closed because it has not had recent activity. If this is still an active bug, please comment to reopen. Thank you for your contributions.
Prerequisites
Versions
Description
Hello, I'm having a problem when importing an uploaded file. In BeforeImport event I try to check the number of lines to check if it's empty but I keep receiving this error:
And when I checked the event reader I got this
When I remove this verification it works normally, all data is stored perfectly. Do you know why this is happening?
Additional Information
BeforeImport function
Import
I suspect that this is also causing validation rules not to work because when I try to upload a file with invalid data the job just fails without any notification of why.
Validation rules and messages