-
Notifications
You must be signed in to change notification settings - Fork 3
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
Not creating new expense accounts or relating to existing ones #20
Comments
@shrippen Can you send me the As you can see there's one main record with the If there's anything unclear, lmk! |
Any news on this? |
@shrippen I'm not sure what's going on. There might be an issue where Firefly returns an error that wasn't caught. I made some changes in |
Now we have some new information. When running sync:firefly I get the following error: Client error: (The name of this account is already in use) As not even one transaction was pushed to firefly I assumed it was related to id 1 in the sql. So I checked that and found it related to Patreon Ireland Limited. And yes an expense account of that name already exists within my firefly installation. It wasn't used so I tried deleting it and running the sync again. Now the importer successfully created Patreon Ireland Limited but crashed on the second transaction, this time relating to Patreon, Inc (also already existing). So yes there seems to be a problem with attaching transactions to existing expense accounts or accounts in general. |
Thanks, that clears out a lot. Since Firefly doesn't really return an error code, i have to check on the error message. The application tries to create an account. If we get an error saying the account already exists it searches for the account based on name and tries to find an exact match. This check is only on the english error message, so i'll have to figure something out for firefly instances in other languages. If anyone wants to look at it before i get around to it, the code i'm talking about is at https://github.com/robvankeilegom/firefly-III-paypal-importer/blob/d554cc85d05d143a2547899646ee97bf3202de06/app/Firefly.php#L104C33-L104C34 |
first, thanks for this great piece of software. |
Hi,
using the new 0.3.3 I am able to pull and push my paypal data. Unfortunately the firefly_expense_id is either 0 or NULL in the sqlite. Where and when does the importer try to match "name" and firefly_expense_id?
This also applies to income accounts when there is a refund.
The text was updated successfully, but these errors were encountered: