2026-03-15 16:29:00 - __main__ - INFO - Application started
2026-03-15 16:29:00 - config - WARNING - .env file not found. Using environment variables or defaults.
2026-03-15 16:29:00 - config - INFO - Configuration validated. Bank codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-15 16:29:00 - scheduler - INFO - ================================================================================
2026-03-15 16:29:00 - scheduler - INFO - RTGS_INWARD File Processing Scheduler Started
2026-03-15 16:29:00 - scheduler - INFO - Poll Interval: 30 minutes
2026-03-15 16:29:00 - scheduler - INFO - Bank Codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-15 16:29:00 - scheduler - INFO - ================================================================================
2026-03-15 16:29:00 - scheduler - INFO - Database connection test passed
2026-03-15 16:29:00 - db.repository - INFO - ✓ inward_rtgs_api_log table exists
2026-03-15 16:29:00 - db.repository - INFO - ✓ neft_processed_files table exists
2026-03-15 16:29:00 - db.repository - INFO - Database tables verified successfully
2026-03-15 16:29:00 - scheduler - INFO - === Starting processing cycle 1 ===
2026-03-15 16:29:00 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-15 16:29:00 - scheduler - INFO - listing file for 15032026
2026-03-15 16:29:00 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-15 16:29:00 - scheduler - INFO - No new files to process
2026-03-15 16:29:00 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-15 16:29:00 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 16:46:27 - __main__ - INFO - Application started
2026-03-16 16:46:27 - config - WARNING - .env file not found. Using environment variables or defaults.
2026-03-16 16:46:27 - config - INFO - Configuration validated. Bank codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 16:46:27 - scheduler - INFO - ================================================================================
2026-03-16 16:46:27 - scheduler - INFO - RTGS_INWARD File Processing Scheduler Started
2026-03-16 16:46:27 - scheduler - INFO - Poll Interval: 30 minutes
2026-03-16 16:46:27 - scheduler - INFO - Bank Codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 16:46:27 - scheduler - INFO - ================================================================================
2026-03-16 16:46:27 - scheduler - INFO - Database connection test passed
2026-03-16 16:46:28 - db.repository - INFO - ✓ inward_rtgs_api_log table exists
2026-03-16 16:46:28 - db.repository - INFO - ✓ neft_processed_files table exists
2026-03-16 16:46:28 - db.repository - INFO - Database tables verified successfully
2026-03-16 16:46:28 - scheduler - INFO - === Starting processing cycle 1 ===
2026-03-16 16:46:28 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 16:46:28 - scheduler - INFO - listing file for 16032026
2026-03-16 16:46:28 - scheduler - INFO - Found new file: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 16:46:28 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 16:46:28 - scheduler - INFO - Found 1 new files to process
2026-03-16 16:46:28 - processors.file_processor - INFO - Starting processing: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 16:46:28 - sftp.sftp_client - INFO - Downloaded file: /home/ipks/IPKS_FILES/REPORTS/0005/RTGS/16032026_11_RTGS_INWARD.TXT -> /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 16:46:28 - rtgs_inward_parser - INFO - Read 1 data rows using encoding utf-8-sig
2026-03-16 16:46:28 - rtgs_inward_parser - INFO - Parsed 1 rows from /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 16:46:28 - processors.data_mapper - INFO - Mapped 1 NEFT transactions for bank 0005
2026-03-16 16:46:29 - db.repository - INFO - [{'TXNIND': 'CR', 'BANKCODE': '0005', 'JRNL_ID': '000444254', 'REF_NO': 'SBINH26075201623', 'TXN_DATE': '16032026', 'AMOUNT': Decimal('200000'), 'SENDER_IFSC': 'SBIN0007816', 'RECIEVER_IFSC': 'WBSC0000036', 'REMMITER_ACCT': '11807780152', 'REMMITER_NAME': 'KEYA BISWAS', 'REMMITER_ADDRS': 'KEYA BISWAS NOKPUL GOBARDANGA', 'REMITTER_INFO': 'KEYA BISWAS NOKPUL GOBARDANGA', 'BENF_ACCT_NO': '101006880505', 'BENF_NAME': '/101006880505 MOHANBISWAS . .', 'STATUS': 'PROCESSED', 'REJECT_CODE': '', 'BENF_ADDRS': '. .', 'MSG_TYP': 'R41', 'CREDITOR_AMT': Decimal('200000')}]
2026-03-16 16:46:29 - db.repository - ERROR - Error inserting NEFT transactions: ORA-00947: not enough values
Help: https://docs.oracle.com/error-help/db/ora-00947/
Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 142, in bulk_insert_transactions
    cursor.executemany(insert_sql, batch_data)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 924, in executemany
    self._impl.executemany(
  File "src/oracledb/impl/thin/cursor.pyx", line 319, in oracledb.thin_impl.ThinCursorImpl.executemany
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-00947: not enough values
Help: https://docs.oracle.com/error-help/db/ora-00947/
2026-03-16 16:46:29 - processors.file_processor - ERROR - Error processing 16032026_11_RTGS_INWARD.TXT: ORA-00947: not enough values
Help: https://docs.oracle.com/error-help/db/ora-00947/
Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/processors/file_processor.py", line 99, in process_file
    inserted_count, skipped_count = self.repository.bulk_insert_transactions(mapped_records)
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 142, in bulk_insert_transactions
    cursor.executemany(insert_sql, batch_data)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 924, in executemany
    self._impl.executemany(
  File "src/oracledb/impl/thin/cursor.pyx", line 319, in oracledb.thin_impl.ThinCursorImpl.executemany
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-00947: not enough values
Help: https://docs.oracle.com/error-help/db/ora-00947/
2026-03-16 16:46:29 - db.repository - INFO - Marked file as processed: 16032026_11_RTGS_INWARD.TXT
2026-03-16 16:46:29 - processors.file_processor - INFO - Processing complete: 0/1 successful
2026-03-16 16:46:29 - scheduler - INFO - Cycle 1 complete:
2026-03-16 16:46:29 - scheduler - INFO -   Total files: 1
2026-03-16 16:46:29 - scheduler - INFO -   Successful: 0
2026-03-16 16:46:29 - scheduler - INFO -   Failed: 1
2026-03-16 16:46:29 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 16:46:29 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 17:14:54 - __main__ - INFO - Application started
2026-03-16 17:14:54 - config - WARNING - .env file not found. Using environment variables or defaults.
2026-03-16 17:14:54 - config - INFO - Configuration validated. Bank codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 17:14:54 - scheduler - INFO - ================================================================================
2026-03-16 17:14:54 - scheduler - INFO - RTGS_INWARD File Processing Scheduler Started
2026-03-16 17:14:54 - scheduler - INFO - Poll Interval: 30 minutes
2026-03-16 17:14:54 - scheduler - INFO - Bank Codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 17:14:54 - scheduler - INFO - ================================================================================
2026-03-16 17:14:54 - scheduler - INFO - Database connection test passed
2026-03-16 17:14:54 - db.repository - INFO - ✓ inward_rtgs_api_log table exists
2026-03-16 17:14:54 - db.repository - INFO - ✓ neft_processed_files table exists
2026-03-16 17:14:54 - db.repository - INFO - Database tables verified successfully
2026-03-16 17:14:54 - scheduler - INFO - === Starting processing cycle 1 ===
2026-03-16 17:14:54 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 17:14:54 - scheduler - INFO - listing file for 16032026
2026-03-16 17:14:54 - scheduler - INFO - Found new file: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 17:14:54 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 17:14:54 - scheduler - INFO - Found 1 new files to process
2026-03-16 17:14:54 - processors.file_processor - INFO - Starting processing: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 17:14:54 - sftp.sftp_client - INFO - Downloaded file: /home/ipks/IPKS_FILES/REPORTS/0005/RTGS/16032026_11_RTGS_INWARD.TXT -> /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 17:14:54 - rtgs_inward_parser - INFO - Read 1 data rows using encoding utf-8-sig
2026-03-16 17:14:54 - rtgs_inward_parser - INFO - Parsed 1 rows from /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 17:14:54 - processors.data_mapper - INFO - Mapped 1 NEFT transactions for bank 0005
2026-03-16 17:14:55 - db.repository - INFO - [{'TXNIND': 'CR', 'BANKCODE': '0005', 'JRNL_ID': '000444254', 'REF_NO': 'SBINH26075201623', 'TXN_DATE': '16032026', 'AMOUNT': Decimal('200000'), 'SENDER_IFSC': 'SBIN0007816', 'RECIEVER_IFSC': 'WBSC0000036', 'REMMITER_ACCT': '11807780152', 'REMMITER_NAME': 'KEYA BISWAS', 'REMMITER_ADDRS': 'KEYA BISWAS NOKPUL GOBARDANGA', 'REMITTER_INFO': 'KEYA BISWAS NOKPUL GOBARDANGA', 'BENF_ACCT_NO': '101006880505', 'BENF_NAME': '/101006880505 MOHANBISWAS . .', 'STATUS': 'PROCESSED', 'REJECT_CODE': '', 'BENF_ADDRS': '. .', 'MSG_TYP': 'R41', 'CREDITOR_AMT': '200000'}]
2026-03-16 17:14:55 - db.repository - ERROR - Error inserting NEFT transactions: ORA-00904: "REMITTER_INFO": invalid identifier
Help: https://docs.oracle.com/error-help/db/ora-00904/
Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 142, in bulk_insert_transactions
    cursor.executemany(insert_sql, batch_data)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 924, in executemany
    self._impl.executemany(
  File "src/oracledb/impl/thin/cursor.pyx", line 319, in oracledb.thin_impl.ThinCursorImpl.executemany
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-00904: "REMITTER_INFO": invalid identifier
Help: https://docs.oracle.com/error-help/db/ora-00904/
2026-03-16 17:14:55 - processors.file_processor - ERROR - Error processing 16032026_11_RTGS_INWARD.TXT: ORA-00904: "REMITTER_INFO": invalid identifier
Help: https://docs.oracle.com/error-help/db/ora-00904/
Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/processors/file_processor.py", line 99, in process_file
    inserted_count, skipped_count = self.repository.bulk_insert_transactions(mapped_records)
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 142, in bulk_insert_transactions
    cursor.executemany(insert_sql, batch_data)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 924, in executemany
    self._impl.executemany(
  File "src/oracledb/impl/thin/cursor.pyx", line 319, in oracledb.thin_impl.ThinCursorImpl.executemany
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-00904: "REMITTER_INFO": invalid identifier
Help: https://docs.oracle.com/error-help/db/ora-00904/
2026-03-16 17:14:55 - db.repository - INFO - Marked file as processed: 16032026_11_RTGS_INWARD.TXT
2026-03-16 17:14:55 - processors.file_processor - INFO - Processing complete: 0/1 successful
2026-03-16 17:14:55 - scheduler - INFO - Cycle 1 complete:
2026-03-16 17:14:55 - scheduler - INFO -   Total files: 1
2026-03-16 17:14:55 - scheduler - INFO -   Successful: 0
2026-03-16 17:14:55 - scheduler - INFO -   Failed: 1
2026-03-16 17:14:55 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 17:14:55 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 17:24:03 - __main__ - INFO - Application started
2026-03-16 17:24:03 - config - WARNING - .env file not found. Using environment variables or defaults.
2026-03-16 17:24:03 - config - INFO - Configuration validated. Bank codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 17:24:03 - scheduler - INFO - ================================================================================
2026-03-16 17:24:03 - scheduler - INFO - RTGS_INWARD File Processing Scheduler Started
2026-03-16 17:24:03 - scheduler - INFO - Poll Interval: 30 minutes
2026-03-16 17:24:03 - scheduler - INFO - Bank Codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 17:24:03 - scheduler - INFO - ================================================================================
2026-03-16 17:24:03 - scheduler - INFO - Database connection test passed
2026-03-16 17:24:03 - db.repository - INFO - ✓ inward_rtgs_api_log table exists
2026-03-16 17:24:03 - db.repository - INFO - ✓ neft_processed_files table exists
2026-03-16 17:24:03 - db.repository - INFO - Database tables verified successfully
2026-03-16 17:24:03 - scheduler - INFO - === Starting processing cycle 1 ===
2026-03-16 17:24:04 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 17:24:04 - scheduler - INFO - listing file for 16032026
2026-03-16 17:24:04 - scheduler - INFO - Found new file: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 17:24:04 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 17:24:04 - scheduler - INFO - Found 1 new files to process
2026-03-16 17:24:04 - processors.file_processor - INFO - Starting processing: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 17:24:04 - sftp.sftp_client - INFO - Downloaded file: /home/ipks/IPKS_FILES/REPORTS/0005/RTGS/16032026_11_RTGS_INWARD.TXT -> /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 17:24:04 - rtgs_inward_parser - INFO - Read 1 data rows using encoding utf-8-sig
2026-03-16 17:24:04 - rtgs_inward_parser - INFO - Parsed 1 rows from /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 17:24:04 - processors.data_mapper - INFO - Mapped 1 NEFT transactions for bank 0005
2026-03-16 17:24:05 - db.repository - INFO - [{'TXNIND': 'CR', 'BANKCODE': '0005', 'JRNL_ID': '000444254', 'REF_NO': 'SBINH26075201623', 'TXN_DATE': '16032026', 'AMOUNT': Decimal('200000'), 'SENDER_IFSC': 'SBIN0007816', 'RECIEVER_IFSC': 'WBSC0000036', 'REMMITER_ACCT': '11807780152', 'REMMITER_NAME': 'KEYA BISWAS', 'REMMITER_ADDRS': 'KEYA BISWAS NOKPUL GOBARDANGA', 'REMMITER_INFO': 'KEYA BISWAS NOKPUL GOBARDANGA', 'BENF_ACCT_NO': '101006880505', 'BENF_NAME': '/101006880505 MOHANBISWAS . .', 'STATUS': 'PROCESSED', 'REJECT_CODE': '', 'BENF_ADDRS': '. .', 'MSG_TYP': 'R41', 'CREDITOR_AMT': '200000'}]
2026-03-16 17:24:05 - db.repository - INFO - Inserted 1 NEFT transactions into inward_rtgs_api_log
2026-03-16 17:24:05 - db.repository - INFO - Marked file as processed: 16032026_11_RTGS_INWARD.TXT
2026-03-16 17:24:05 - processors.file_processor - INFO - Successfully processed 16032026_11_RTGS_INWARD.TXT: 1 inserted, 0 skipped (non-ipks accounts)
2026-03-16 17:24:05 - processors.file_processor - INFO - Processing complete: 1/1 successful
2026-03-16 17:24:05 - scheduler - INFO - Cycle 1 complete:
2026-03-16 17:24:05 - scheduler - INFO -   Total files: 1
2026-03-16 17:24:05 - scheduler - INFO -   Successful: 1
2026-03-16 17:24:05 - scheduler - INFO -   Failed: 0
2026-03-16 17:24:05 - scheduler - INFO - Calling rtgs_api_txn_post procedure for all inserted transactions...
2026-03-16 17:24:05 - db.repository - INFO - Calling rtgs_api_txn_post procedure to process all inserted transactions...
2026-03-16 17:24:05 - db.repository - ERROR - Error calling rtgs_api_txn_post procedure: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 262, in call_rtgs_api_txn_post
    cursor.callproc('rtgs_api_txn_post')
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 763, in callproc
    self._call(name, parameters, keyword_parameters)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 95, in _call
    return self.execute(statement, bind_values)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 264, in call_rtgs_api_txn_post
    cursor.execute("BEGIN rtgs_api_txn_post; END;")
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
2026-03-16 17:24:05 - scheduler - ERROR - Transaction post-processing failed
2026-03-16 17:24:05 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 17:24:05 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 17:50:53 - __main__ - INFO - Application started
2026-03-16 17:50:53 - config - WARNING - .env file not found. Using environment variables or defaults.
2026-03-16 17:50:53 - config - INFO - Configuration validated. Bank codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 17:50:53 - scheduler - INFO - ================================================================================
2026-03-16 17:50:53 - scheduler - INFO - RTGS_INWARD File Processing Scheduler Started
2026-03-16 17:50:53 - scheduler - INFO - Poll Interval: 30 minutes
2026-03-16 17:50:53 - scheduler - INFO - Bank Codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 17:50:53 - scheduler - INFO - ================================================================================
2026-03-16 17:50:53 - scheduler - INFO - Database connection test passed
2026-03-16 17:50:53 - db.repository - INFO - ✓ inward_rtgs_api_log table exists
2026-03-16 17:50:53 - db.repository - INFO - ✓ neft_processed_files table exists
2026-03-16 17:50:53 - db.repository - INFO - Database tables verified successfully
2026-03-16 17:50:53 - scheduler - INFO - === Starting processing cycle 1 ===
2026-03-16 17:50:53 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 17:50:53 - scheduler - INFO - listing file for 16032026
2026-03-16 17:50:53 - scheduler - INFO - Found new file: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 17:50:53 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 17:50:53 - scheduler - INFO - Found 1 new files to process
2026-03-16 17:50:53 - processors.file_processor - INFO - Starting processing: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 17:50:54 - sftp.sftp_client - INFO - Downloaded file: /home/ipks/IPKS_FILES/REPORTS/0005/RTGS/16032026_11_RTGS_INWARD.TXT -> /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 17:50:54 - rtgs_inward_parser - INFO - Read 1 data rows using encoding utf-8-sig
2026-03-16 17:50:54 - rtgs_inward_parser - INFO - Parsed 1 rows from /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 17:50:54 - processors.data_mapper - INFO - Mapped 1 NEFT transactions for bank 0005
2026-03-16 17:50:55 - db.repository - INFO - [{'TXNIND': 'CR', 'BANKCODE': '0005', 'JRNL_ID': '000444254', 'REF_NO': 'SBINH26075201623', 'TXN_DATE': '16032026', 'AMOUNT': Decimal('200000'), 'SENDER_IFSC': 'SBIN0007816', 'RECIEVER_IFSC': 'WBSC0000036', 'REMMITER_ACCT': '11807780152', 'REMMITER_NAME': 'KEYA BISWAS', 'REMMITER_ADDRS': 'KEYA BISWAS NOKPUL GOBARDANGA', 'REMMITER_INFO': 'KEYA BISWAS NOKPUL GOBARDANGA', 'BENF_ACCT_NO': '101006880505', 'BENF_NAME': '/101006880505 MOHANBISWAS . .', 'STATUS': 'PROCESSED', 'REJECT_CODE': '', 'BENF_ADDRS': '. .', 'MSG_TYP': 'R41', 'CREDITOR_AMT': '200000'}]
2026-03-16 17:50:55 - db.repository - INFO - Inserted 1 NEFT transactions into inward_rtgs_api_log
2026-03-16 17:50:55 - db.repository - INFO - Marked file as processed: 16032026_11_RTGS_INWARD.TXT
2026-03-16 17:50:55 - processors.file_processor - INFO - Successfully processed 16032026_11_RTGS_INWARD.TXT: 1 inserted, 0 skipped (non-ipks accounts)
2026-03-16 17:50:55 - processors.file_processor - INFO - Processing complete: 1/1 successful
2026-03-16 17:50:55 - scheduler - INFO - Cycle 1 complete:
2026-03-16 17:50:55 - scheduler - INFO -   Total files: 1
2026-03-16 17:50:55 - scheduler - INFO -   Successful: 1
2026-03-16 17:50:55 - scheduler - INFO -   Failed: 0
2026-03-16 17:50:55 - scheduler - INFO - Calling rtgs_api_txn_post procedure for all inserted transactions...
2026-03-16 17:50:55 - db.repository - INFO - Calling rtgs_api_txn_post procedure to process all inserted transactions...
2026-03-16 17:50:55 - db.repository - ERROR - Error calling rtgs_api_txn_post procedure: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 262, in call_rtgs_api_txn_post
    cursor.callproc('PACS_DB.rtgs_api_txn_post')
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 763, in callproc
    self._call(name, parameters, keyword_parameters)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 95, in _call
    return self.execute(statement, bind_values)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 15:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 264, in call_rtgs_api_txn_post
    cursor.execute("BEGIN rtgs_api_txn_post; END;")
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
2026-03-16 17:50:55 - scheduler - ERROR - Transaction post-processing failed
2026-03-16 17:50:55 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 17:50:55 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 18:20:55 - scheduler - INFO - === Starting processing cycle 2 ===
2026-03-16 18:20:55 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 18:20:55 - scheduler - INFO - listing file for 16032026
2026-03-16 18:20:55 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 18:20:55 - scheduler - INFO - No new files to process
2026-03-16 18:20:55 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 18:20:55 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 18:50:55 - scheduler - INFO - === Starting processing cycle 3 ===
2026-03-16 18:50:55 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 18:50:55 - scheduler - INFO - listing file for 16032026
2026-03-16 18:50:56 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 18:50:56 - scheduler - INFO - No new files to process
2026-03-16 18:50:56 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 18:50:56 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 19:20:56 - scheduler - INFO - === Starting processing cycle 4 ===
2026-03-16 19:20:56 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 19:20:56 - scheduler - INFO - listing file for 16032026
2026-03-16 19:20:56 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 19:20:56 - scheduler - INFO - No new files to process
2026-03-16 19:20:56 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 19:20:56 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 22:54:49 - __main__ - INFO - Application started
2026-03-16 22:54:49 - config - WARNING - .env file not found. Using environment variables or defaults.
2026-03-16 22:54:49 - config - INFO - Configuration validated. Bank codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 22:54:49 - scheduler - INFO - ================================================================================
2026-03-16 22:54:49 - scheduler - INFO - RTGS_INWARD File Processing Scheduler Started
2026-03-16 22:54:49 - scheduler - INFO - Poll Interval: 30 minutes
2026-03-16 22:54:49 - scheduler - INFO - Bank Codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-16 22:54:49 - scheduler - INFO - ================================================================================
2026-03-16 22:54:49 - scheduler - INFO - Database connection test passed
2026-03-16 22:54:50 - db.repository - INFO - ✓ inward_rtgs_api_log table exists
2026-03-16 22:54:50 - db.repository - INFO - ✓ neft_processed_files table exists
2026-03-16 22:54:50 - db.repository - INFO - Database tables verified successfully
2026-03-16 22:54:50 - scheduler - INFO - === Starting processing cycle 1 ===
2026-03-16 22:54:50 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 22:54:50 - scheduler - INFO - listing file for 16032026
2026-03-16 22:54:50 - scheduler - INFO - Found new file: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 22:54:50 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 22:54:50 - scheduler - INFO - Found 1 new files to process
2026-03-16 22:54:50 - processors.file_processor - INFO - Starting processing: 16032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-16 22:54:50 - sftp.sftp_client - INFO - Downloaded file: /home/ipks/IPKS_FILES/REPORTS/0005/RTGS/16032026_11_RTGS_INWARD.TXT -> /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 22:54:50 - rtgs_inward_parser - INFO - Read 1 data rows using encoding utf-8-sig
2026-03-16 22:54:50 - rtgs_inward_parser - INFO - Parsed 1 rows from /tmp/16032026_11_RTGS_INWARD.TXT
2026-03-16 22:54:50 - processors.data_mapper - INFO - Mapped 1 NEFT transactions for bank 0005
2026-03-16 22:54:51 - db.repository - INFO - [{'TXNIND': 'CR', 'BANKCODE': '0005', 'JRNL_ID': '000444254', 'REF_NO': 'SBINH26075201623', 'TXN_DATE': '16032026', 'AMOUNT': Decimal('200000'), 'SENDER_IFSC': 'SBIN0007816', 'RECIEVER_IFSC': 'WBSC0000036', 'REMMITER_ACCT': '11807780152', 'REMMITER_NAME': 'KEYA BISWAS', 'REMMITER_ADDRS': 'KEYA BISWAS NOKPUL GOBARDANGA', 'REMMITER_INFO': 'KEYA BISWAS NOKPUL GOBARDANGA', 'BENF_ACCT_NO': '101006880505', 'BENF_NAME': '/101006880505 MOHANBISWAS . .', 'STATUS': 'PROCESSED', 'REJECT_CODE': '', 'BENF_ADDRS': '. .', 'MSG_TYP': 'R41', 'CREDITOR_AMT': '200000'}]
2026-03-16 22:54:51 - db.repository - INFO - Inserted 1 NEFT transactions into inward_rtgs_api_log
2026-03-16 22:54:51 - db.repository - INFO - Marked file as processed: 16032026_11_RTGS_INWARD.TXT
2026-03-16 22:54:51 - processors.file_processor - INFO - Successfully processed 16032026_11_RTGS_INWARD.TXT: 1 inserted, 0 skipped (non-ipks accounts)
2026-03-16 22:54:51 - processors.file_processor - INFO - Processing complete: 1/1 successful
2026-03-16 22:54:51 - scheduler - INFO - Cycle 1 complete:
2026-03-16 22:54:51 - scheduler - INFO -   Total files: 1
2026-03-16 22:54:51 - scheduler - INFO -   Successful: 1
2026-03-16 22:54:51 - scheduler - INFO -   Failed: 0
2026-03-16 22:54:51 - scheduler - INFO - Calling rtgs_api_txn_post procedure for all inserted transactions...
2026-03-16 22:54:51 - db.repository - INFO - Calling rtgs_api_txn_post procedure to process all inserted transactions...
2026-03-16 22:54:51 - db.repository - ERROR - Error calling rtgs_api_txn_post procedure: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 262, in call_rtgs_api_txn_post
    cursor.callproc('rtgs_api_txn_post')
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 763, in callproc
    self._call(name, parameters, keyword_parameters)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 95, in _call
    return self.execute(statement, bind_values)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 264, in call_rtgs_api_txn_post
    cursor.execute("BEGIN rtgs_api_txn_post; END;")
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
2026-03-16 22:54:51 - scheduler - ERROR - Transaction post-processing failed
2026-03-16 22:54:51 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 22:54:51 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 23:24:51 - scheduler - INFO - === Starting processing cycle 2 ===
2026-03-16 23:24:52 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 23:24:52 - scheduler - INFO - listing file for 16032026
2026-03-16 23:24:52 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 23:24:52 - scheduler - INFO - No new files to process
2026-03-16 23:24:52 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 23:24:52 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-16 23:54:52 - scheduler - INFO - === Starting processing cycle 3 ===
2026-03-16 23:54:52 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-16 23:54:52 - scheduler - INFO - listing file for 16032026
2026-03-16 23:54:52 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-16 23:54:52 - scheduler - INFO - No new files to process
2026-03-16 23:54:52 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-16 23:54:52 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 00:24:52 - scheduler - INFO - === Starting processing cycle 4 ===
2026-03-17 00:24:53 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 00:24:53 - scheduler - INFO - listing file for 17032026
2026-03-17 00:24:53 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 00:24:53 - scheduler - INFO - No new files to process
2026-03-17 00:24:53 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 00:24:53 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 12:02:34 - __main__ - INFO - Application started
2026-03-17 12:02:34 - config - WARNING - .env file not found. Using environment variables or defaults.
2026-03-17 12:02:34 - config - INFO - Configuration validated. Bank codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-17 12:02:34 - scheduler - INFO - ================================================================================
2026-03-17 12:02:34 - scheduler - INFO - RTGS_INWARD File Processing Scheduler Started
2026-03-17 12:02:34 - scheduler - INFO - Poll Interval: 30 minutes
2026-03-17 12:02:34 - scheduler - INFO - Bank Codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-17 12:02:34 - scheduler - INFO - ================================================================================
2026-03-17 12:02:34 - scheduler - INFO - Database connection test passed
2026-03-17 12:02:34 - db.repository - INFO - ✓ inward_rtgs_api_log table exists
2026-03-17 12:02:34 - db.repository - INFO - ✓ neft_processed_files table exists
2026-03-17 12:02:34 - db.repository - INFO - Database tables verified successfully
2026-03-17 12:02:34 - scheduler - INFO - === Starting processing cycle 1 ===
2026-03-17 12:02:34 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 12:02:34 - scheduler - INFO - listing file for 17032026
2026-03-17 12:02:34 - scheduler - INFO - Found new file: 17032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-17 12:02:34 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 12:02:34 - scheduler - INFO - Found 1 new files to process
2026-03-17 12:02:34 - processors.file_processor - INFO - Starting processing: 17032026_11_RTGS_INWARD.TXT (bank: 0005)
2026-03-17 12:02:34 - sftp.sftp_client - INFO - Downloaded file: /home/ipks/IPKS_FILES/REPORTS/0005/RTGS/17032026_11_RTGS_INWARD.TXT -> /tmp/17032026_11_RTGS_INWARD.TXT
2026-03-17 12:02:34 - rtgs_inward_parser - INFO - Read 1 data rows using encoding utf-8-sig
2026-03-17 12:02:34 - rtgs_inward_parser - INFO - Parsed 1 rows from /tmp/17032026_11_RTGS_INWARD.TXT
2026-03-17 12:02:34 - processors.data_mapper - INFO - Mapped 1 NEFT transactions for bank 0005
2026-03-17 12:02:35 - db.repository - INFO - [{'TXNIND': 'CR', 'BANKCODE': '0005', 'JRNL_ID': '000444254', 'REF_NO': 'SBINH26075201623', 'TXN_DATE': '16032026', 'AMOUNT': Decimal('200000'), 'SENDER_IFSC': 'SBIN0007816', 'RECIEVER_IFSC': 'WBSC0000036', 'REMMITER_ACCT': '11807780152', 'REMMITER_NAME': 'KEYA BISWAS', 'REMMITER_ADDRS': 'KEYA BISWAS NOKPUL GOBARDANGA', 'REMMITER_INFO': 'KEYA BISWAS NOKPUL GOBARDANGA', 'BENF_ACCT_NO': '101006880505', 'BENF_NAME': '/101006880505 MOHANBISWAS . .', 'STATUS': 'PROCESSED', 'REJECT_CODE': '', 'BENF_ADDRS': '. .', 'MSG_TYP': 'R41', 'CREDITOR_AMT': '200000'}]
2026-03-17 12:02:35 - db.repository - INFO - Inserted 1 NEFT transactions into inward_rtgs_api_log
2026-03-17 12:02:35 - db.repository - INFO - Marked file as processed: 17032026_11_RTGS_INWARD.TXT
2026-03-17 12:02:35 - processors.file_processor - INFO - Successfully processed 17032026_11_RTGS_INWARD.TXT: 1 inserted, 0 skipped (non-ipks accounts)
2026-03-17 12:02:35 - processors.file_processor - INFO - Processing complete: 1/1 successful
2026-03-17 12:02:35 - scheduler - INFO - Cycle 1 complete:
2026-03-17 12:02:35 - scheduler - INFO -   Total files: 1
2026-03-17 12:02:35 - scheduler - INFO -   Successful: 1
2026-03-17 12:02:35 - scheduler - INFO -   Failed: 0
2026-03-17 12:02:35 - scheduler - INFO - Calling rtgs_api_txn_post procedure for all inserted transactions...
2026-03-17 12:02:35 - db.repository - INFO - Calling rtgs_api_txn_post procedure to process all inserted transactions...
2026-03-17 12:02:35 - db.repository - ERROR - Error calling rtgs_api_txn_post procedure: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 262, in call_rtgs_api_txn_post
    cursor.callproc('rtgs_api_txn_post')
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 763, in callproc
    self._call(name, parameters, keyword_parameters)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 95, in _call
    return self.execute(statement, bind_values)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 264, in call_rtgs_api_txn_post
    cursor.execute("BEGIN rtgs_api_txn_post; END;")
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
2026-03-17 12:02:35 - scheduler - ERROR - Transaction post-processing failed
2026-03-17 12:02:35 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 12:02:35 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 12:32:35 - scheduler - INFO - === Starting processing cycle 2 ===
2026-03-17 12:32:36 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 12:32:36 - scheduler - INFO - listing file for 17032026
2026-03-17 12:32:36 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 12:32:36 - scheduler - INFO - No new files to process
2026-03-17 12:32:36 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 12:32:36 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 13:02:36 - scheduler - INFO - === Starting processing cycle 3 ===
2026-03-17 13:02:36 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 13:02:36 - scheduler - INFO - listing file for 17032026
2026-03-17 13:02:36 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 13:02:36 - scheduler - INFO - No new files to process
2026-03-17 13:02:36 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 13:02:36 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 13:32:36 - scheduler - INFO - === Starting processing cycle 4 ===
2026-03-17 13:32:36 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 13:32:36 - scheduler - INFO - listing file for 17032026
2026-03-17 13:32:37 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 13:32:37 - scheduler - INFO - No new files to process
2026-03-17 13:32:37 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 13:32:37 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 14:02:37 - scheduler - INFO - === Starting processing cycle 5 ===
2026-03-17 14:02:37 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 14:02:37 - scheduler - INFO - listing file for 17032026
2026-03-17 14:02:37 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 14:02:37 - scheduler - INFO - No new files to process
2026-03-17 14:02:37 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 14:02:37 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 14:32:37 - scheduler - INFO - === Starting processing cycle 6 ===
2026-03-17 14:32:38 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 14:32:38 - scheduler - INFO - listing file for 17032026
2026-03-17 14:32:38 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 14:32:38 - scheduler - INFO - No new files to process
2026-03-17 14:32:38 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 14:32:38 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 15:02:38 - scheduler - INFO - === Starting processing cycle 7 ===
2026-03-17 15:02:38 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 15:02:38 - scheduler - INFO - listing file for 17032026
2026-03-17 15:02:38 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 15:02:38 - scheduler - INFO - No new files to process
2026-03-17 15:02:38 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 15:02:38 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 15:32:38 - scheduler - INFO - === Starting processing cycle 8 ===
2026-03-17 15:32:39 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 15:32:39 - scheduler - INFO - listing file for 17032026
2026-03-17 15:32:39 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 15:32:39 - scheduler - INFO - No new files to process
2026-03-17 15:32:39 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 15:32:39 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-17 16:02:39 - scheduler - INFO - === Starting processing cycle 9 ===
2026-03-17 16:02:39 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-17 16:02:39 - scheduler - INFO - listing file for 17032026
2026-03-17 16:02:39 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-17 16:02:39 - scheduler - INFO - No new files to process
2026-03-17 16:02:39 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-17 16:02:39 - scheduler - INFO - Waiting 30 minutes until next cycle...
2026-03-18 12:45:00 - __main__ - INFO - Application started
2026-03-18 12:45:00 - config - WARNING - .env file not found. Using environment variables or defaults.
2026-03-18 12:45:00 - config - INFO - Configuration validated. Bank codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-18 12:45:00 - scheduler - INFO - ================================================================================
2026-03-18 12:45:00 - scheduler - INFO - RTGS_INWARD File Processing Scheduler Started
2026-03-18 12:45:00 - scheduler - INFO - Poll Interval: 30 minutes
2026-03-18 12:45:00 - scheduler - INFO - Bank Codes: 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0009, 0012, 0013, 0014, 0015, 0016, 0017, 0018, 0020, 0021
2026-03-18 12:45:00 - scheduler - INFO - ================================================================================
2026-03-18 12:45:01 - scheduler - INFO - Database connection test passed
2026-03-18 12:45:01 - db.repository - INFO - ✓ inward_rtgs_api_log table exists
2026-03-18 12:45:01 - db.repository - INFO - ✓ neft_processed_files table exists
2026-03-18 12:45:01 - db.repository - INFO - Database tables verified successfully
2026-03-18 12:45:01 - scheduler - INFO - === Starting processing cycle 1 ===
2026-03-18 12:45:02 - sftp.sftp_client - INFO - Connected to SFTP server: 43.225.3.224:4650
2026-03-18 12:45:02 - scheduler - INFO - listing file for 18032026
2026-03-18 12:45:02 - scheduler - INFO - Found new file: 18032026_11_RTGS_INWARD.TXT (bank: 0007)
2026-03-18 12:45:02 - sftp.sftp_client - WARNING - Directory not found: /home/ipks/IPKS_FILES/REPORTS/0016/RTGS
2026-03-18 12:45:02 - scheduler - INFO - Found 1 new files to process
2026-03-18 12:45:02 - processors.file_processor - INFO - Starting processing: 18032026_11_RTGS_INWARD.TXT (bank: 0007)
2026-03-18 12:45:02 - sftp.sftp_client - INFO - Downloaded file: /home/ipks/IPKS_FILES/REPORTS/0007/RTGS/18032026_11_RTGS_INWARD.TXT -> /tmp/18032026_11_RTGS_INWARD.TXT
2026-03-18 12:45:02 - rtgs_inward_parser - INFO - Read 1 data rows using encoding utf-8-sig
2026-03-18 12:45:02 - rtgs_inward_parser - INFO - Parsed 1 rows from /tmp/18032026_11_RTGS_INWARD.TXT
2026-03-18 12:45:02 - processors.data_mapper - INFO - Mapped 1 NEFT transactions for bank 0007
2026-03-18 12:45:03 - db.repository - INFO - [{'TXNIND': 'CR', 'BANKCODE': '0007', 'JRNL_ID': '000444254', 'REF_NO': 'SBINH26075201623', 'TXN_DATE': '16032026', 'AMOUNT': Decimal('200000'), 'SENDER_IFSC': 'SBIN0007816', 'RECIEVER_IFSC': 'WBSC0000036', 'REMMITER_ACCT': '11807780152', 'REMMITER_NAME': 'KEYA BISWAS', 'REMMITER_ADDRS': 'KEYA BISWAS NOKPUL GOBARDANGA', 'REMMITER_INFO': 'KEYA BISWAS NOKPUL GOBARDANGA', 'BENF_ACCT_NO': '101006880505', 'BENF_NAME': '/101006880505 MOHANBISWAS . .', 'STATUS': 'PROCESSED', 'REJECT_CODE': '', 'BENF_ADDRS': '. .', 'MSG_TYP': 'R41', 'CREDITOR_AMT': '200000'}]
2026-03-18 12:45:03 - db.repository - INFO - Inserted 1 NEFT transactions into inward_rtgs_api_log
2026-03-18 12:45:03 - db.repository - INFO - Marked file as processed: 18032026_11_RTGS_INWARD.TXT
2026-03-18 12:45:03 - processors.file_processor - INFO - Successfully processed 18032026_11_RTGS_INWARD.TXT: 1 inserted, 0 skipped (non-ipks accounts)
2026-03-18 12:45:03 - processors.file_processor - INFO - Processing complete: 1/1 successful
2026-03-18 12:45:03 - scheduler - INFO - Cycle 1 complete:
2026-03-18 12:45:03 - scheduler - INFO -   Total files: 1
2026-03-18 12:45:03 - scheduler - INFO -   Successful: 1
2026-03-18 12:45:03 - scheduler - INFO -   Failed: 0
2026-03-18 12:45:03 - scheduler - INFO - Calling rtgs_api_txn_post procedure for all inserted transactions...
2026-03-18 12:45:03 - db.repository - INFO - Calling rtgs_api_txn_post procedure to process all inserted transactions...
2026-03-18 12:45:03 - db.repository - ERROR - Error calling rtgs_api_txn_post procedure: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 262, in call_rtgs_api_txn_post
    cursor.callproc('rtgs_api_txn_post')
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 763, in callproc
    self._call(name, parameters, keyword_parameters)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 95, in _call
    return self.execute(statement, bind_values)
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bishwajeet/rtgs_inward_file_based/db/repository.py", line 264, in call_rtgs_api_txn_post
    cursor.execute("BEGIN rtgs_api_txn_post; END;")
  File "/home/bishwajeet/rtgs_inward_file_based/.venv/lib64/python3.9/site-packages/oracledb/cursor.py", line 844, in execute
    impl.execute(self)
  File "src/oracledb/impl/thin/cursor.pyx", line 277, in oracledb.thin_impl.ThinCursorImpl.execute
  File "src/oracledb/impl/thin/protocol.pyx", line 501, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 502, in oracledb.thin_impl.Protocol._process_single_message
  File "src/oracledb/impl/thin/protocol.pyx", line 494, in oracledb.thin_impl.Protocol._process_message
  File "src/oracledb/impl/thin/messages/base.pyx", line 102, in oracledb.thin_impl.Message._check_and_raise_exception
oracledb.exceptions.DatabaseError: ORA-06550: line 1, column 7:
PLS-00905: object PACS_DB.RTGS_API_TXN_POST is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Help: https://docs.oracle.com/error-help/db/ora-06550/
2026-03-18 12:45:03 - scheduler - ERROR - Transaction post-processing failed
2026-03-18 12:45:03 - sftp.sftp_client - INFO - SFTP connection closed
2026-03-18 12:45:03 - scheduler - INFO - Waiting 30 minutes until next cycle...
