You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a new user and LOVE this library, but I'm needing to pull our returns data and think I found an issue with the reportManager.GetReturnMFNOrder() method. I get the following error any time I call that method:
Index was outside the bounds of the array.
at FikaAmazonAPI.ReportGeneration.ReturnFBMOrderRow.FromCsv(String csvLine, String refNumber)
at FikaAmazonAPI.ReportGeneration.ReturnFBMOrderReport.<>c__DisplayClass4_0.<.ctor>b__0(String v)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at FikaAmazonAPI.ReportGeneration.ReturnFBMOrderReport..ctor(String path, String refNumber)
at FikaAmazonAPI.ReportGeneration.ReportManager.d__25.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at FikaAmazonAPI.ReportGeneration.ReportManager.d__23.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at FikaAmazonAPI.ReportGeneration.ReportManager.GetReturnMFNOrder(Int32 days)
Here is the code that creates the error:
ReportManager reportManager = new ReportManager(ac);
var returnMFNOrder = reportManager.GetReturnMFNOrder(10); //GET_FLAT_FILE_RETURNS_DATA_BY_RETURN_DATE
I've tried different number of days and they all generate the error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm a new user and LOVE this library, but I'm needing to pull our returns data and think I found an issue with the reportManager.GetReturnMFNOrder() method. I get the following error any time I call that method:
Index was outside the bounds of the array.
at FikaAmazonAPI.ReportGeneration.ReturnFBMOrderRow.FromCsv(String csvLine, String refNumber)
at FikaAmazonAPI.ReportGeneration.ReturnFBMOrderReport.<>c__DisplayClass4_0.<.ctor>b__0(String v)
at System.Linq.Enumerable.WhereSelectEnumerableIterator
2.MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)at FikaAmazonAPI.ReportGeneration.ReturnFBMOrderReport..ctor(String path, String refNumber)
at FikaAmazonAPI.ReportGeneration.ReportManager.d__25.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at FikaAmazonAPI.ReportGeneration.ReportManager.d__23.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at FikaAmazonAPI.ReportGeneration.ReportManager.GetReturnMFNOrder(Int32 days)
Here is the code that creates the error:
ReportManager reportManager = new ReportManager(ac);
var returnMFNOrder = reportManager.GetReturnMFNOrder(10); //GET_FLAT_FILE_RETURNS_DATA_BY_RETURN_DATE
I've tried different number of days and they all generate the error.
Thanks!
Jeff Patterson
Beta Was this translation helpful? Give feedback.
All reactions