-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BulkInsert: System.IndexOutOfRangeException: 'There is no row at position 0.' #571
Comments
Hello @StanlyLife , Thank you for reporting, we will try to reproduce it with your data. Best Regards, Jon |
I’m out of the office. But is it possible to share the code & database privately? Upon further investigation I found that this problem only happened to certain json files and data, but there is no clear indication on what’s causing the error as the models are the same. |
Hello @StanlyLife , You can send your project here: [email protected] (or talk more privately to us at this mailbox). In this case, we will surely wait for your project, which will make it easier for us to reproduce it. Best Regards, Jon |
Perfect, i shared the repo and instructions to the email you provided. Looking forward to hearing from you! |
Description
I am trying to
BulkInsert
a lot of rows in a table on a schedule.Whenever hangfire first executes the function, everything runs smoothly. However second time I try to bulkinsert, i get this error:
Code
Data
The data i am trying to add:
Database
Exception
If you are seeing an exception, include the full exceptions details (message and stack trace).
Further technical details
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.0" />
<PackageReference Include="Z.EntityFramework.Extensions.EFCore" Version="8.102.0" />
The text was updated successfully, but these errors were encountered: