8000 Exit code 72 when no results are found - expecting 73 · Issue #9484 · firefly-iii/firefly-iii · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Exit code 72 when no results are found - expecting 73 #9484
Closed
@james-prince

Description

@james-prince

I seem to be getting an exit code of 72 (Too many errors processing the data in the importable file) rather than 73 when running the following command when no transactions are found
docker exec -it firefly-iii-importer --user www-data php artisan importer:import file.json

Here is the output from the command:

Trying to connect to http://firefly:8080...
The last 25 chars of the access token are: REDACTED_TOKEN
Welcome to the Firefly III data importer, v1.5.7
The import routine is about to start.
This is invisible and may take quite some time.
Once finished, you will see a list of errors, warnings and messages (if applicable).
--------
Running...
[2024-11-22 12:45:46] local.INFO: Job identifier is "conversion-E5BzdqBu97tu"  
[2024-11-22 12:45:48] local.WARNING: Account success limit: 2 requests remaining, it will take 5h14m40s for the limit to reset.  
[2024-11-22 12:45:48] local.INFO: Going to filter downloaded transactions. Original set length is 0  
[2024-11-22 12:45:48] local.INFO: After filtering, set is 0 transaction(s)  
[2024-11-22 12:45:49] local.WARNING: Account success limit: 2 requests remaining, it will take 5h14m40s for the limit to reset.  
[2024-11-22 12:45:49] local.INFO: Going to filter downloaded transactions. Original set length is 0  
[2024-11-22 12:45:49] local.INFO: After filtering, set is 0 transaction(s)  
[2024-11-22 12:45:51] local.WARNING: Account success limit: 2 requests remaining, it will take 5h14m41s for the limit to reset.  
[2024-11-22 12:45:51] local.INFO: Going to filter downloaded transactions. Original set length is 0  
[2024-11-22 12:45:51] local.INFO: After filtering, set is 0 transaction(s)  
[2024-11-22 12:45:53] local.WARNING: Account success limit: 2 requests remaining, it will take 5h14m41s for the limit to reset.  
[2024-11-22 12:45:53] local.INFO: Going to filter downloaded transactions. Original set length is 0  
[2024-11-22 12:45:53] local.INFO: After filtering, set is 0 transaction(s)  
[2024-11-22 12:45:53] local.INFO: [c] Add message to index #0: You have 2 request(s) left for bank account "REDACTED_1". [Read more about GoCardless rate limits](https://docs.firefly-iii.org/references/faq/data-importer/salt-edge-gocardless/#i-am-rate-limited-by-gocardless).  
[2024-11-22 12:45:53] local.INFO: [c] Add message to index #0: You have 2 request(s) left for bank account "REDACTED_2". [Read more about GoCardless rate limits](https://docs.firefly-iii.org/references/faq/data-importer/salt-edge-gocardless/#i-am-rate-limited-by-gocardless).  
[2024-11-22 12:45:53] local.INFO: [c] Add message to index #0: You have 2 request(s) left for bank account "REDACTED_3". [Read more about GoCardless rate limits](https://docs.firefly-iii.org/references/faq/data-importer/salt-edge-gocardless/#i-am-rate-limited-by-gocardless).  
[2024-11-22 12:45:53] local.INFO: [c] Add message to index #0: You have 2 request(s) left for bank account "REDACTED_4" (account number REDACTED_ACCOUNT_NUMBER). [Read more about GoCardless rate limits](https://docs.firefly-iii.org/references/faq/data-importer/salt-edge-gocardless/#i-am-rate-limited-by-gocardless).  
[2024-11-22 12:45:53] local.WARNING: Downloaded nothing, will return nothing.  
[2024-11-22 12:45:53] local.ERROR: [c] Add error to index #0: No transactions were downloaded from GoCardless. You may be rate limited or something else went wrong.  
[2024-11-22 12:45:53] local.ERROR: [a] Zero transactions!  
Conversion index (info) 0: You have 2 request(s) left for bank account "REDACTED_1". [Read more about GoCardless rate limits](https://docs.firefly-iii.org/references/faq/data-importer/salt-edge-gocardless/#i-am-rate-limited-by-gocardless).
Conversion index (info) 0: You have 2 request(s) left for bank account "REDACTED_2". [Read more about GoCardless rate limits](https://docs.firefly-iii.org/references/faq/data-importer/salt-edge-gocardless/#i-am-rate-limited-by-gocardless).
Conversion index (info) 0: You have 2 request(s) left for bank account "REDACTED_3". [Read more about GoCardless rate limits](https://docs.firefly-iii.org/references/faq/data-importer/salt-edge-gocardless/#i-am-rate-limited-by-gocardless).
Conversion index (info) 0: You have 2 request(s) left for bank account "REDACTED_4" (account number REDACTED_ACCOUNT_NUMBER). [Read more about GoCardless rate limits](https://docs.firefly-iii.org/references/faq/data-importer/salt-edge-gocardless/#i-am-rate-limited-by-gocardless).
Conversion index (error) 0: No transactions were downloaded from GoCardless. You may be rate limited or something else went wrong.
There are many errors in the data conversion. The import will stop here.
[2024-11-22 12:45:53] local.INFO: Configuration does not allow mail, will not mail.  

Is it possible i have something configured incorrectly?

The importer:import command and importer:auto-import will exit 73 when nothing was imported. The importer:auto-import command may also exit 1 in the same situation, since it can process multiple files (and another file may have had an import that was perfectly fine, or had another error).

Exit codes are documented here:

https://docs.firefly-iii.org/how-to/data-importer/advanced/cli/

Originally posted by @JC5 in #9357

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedBugs that are fixed (in a coming release).

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0