aerele / bank_api_integration

Frappe application to achieve Bank API integration
GNU General Public License v3.0
53 stars 39 forks source link

In Api Response Log get Error File Not Found #13

Open Pithiya-Nilesh opened 6 months ago

Pithiya-Nilesh commented 6 months ago

Screenshot from 2024-01-01 15-59-42

"Traceback (most recent call last):\n File \"apps/bank_api_integration/bank_api_integration/bank_api_integration/doctype/bank_api_integration/bank_api_integration.py\", line 51, in initiate_transaction_with_otp\n res = prov.initiate_transaction_with_otp(filters)\n File \"env/lib/python3.10/site-packages/banking_api/common_provider.py\", line 68, in initiate_transaction_with_otp\n return self.provider_module.initiate_transaction_with_otp(filters, self.transaction_type_mapping[self.provider])\n File \"env/lib/python3.10/site-packages/banking_api/icici.py\", line 212, in initiate_transaction_with_otp\n cipher_text = self.get_encrypted_request(params)\n File \"env/lib/python3.10/site-packages/banking_api/icici.py\", line 113, in get_encrypted_request\n key = RSA.importKey(open(self.file_paths['public_key']).read())\nFileNotFoundError: [Errno 2] No such file or directory: './advantistest.com/files/public_key.pem'\n"