Advertisement
Mochinov

Untitled

Dec 19th, 2023
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.42 KB | None | 0 0
  1. 2023-12-19 17:16:51.105
  2. +------------------------------------
  3. 2023-12-19 17:16:51.105
  4. | stripe.error.InvalidRequestError: Request req_udgMtKybUsbmkT: Invalid routing number
  5. 2023-12-19 17:16:51.105
  6. | raise err
  7. 2023-12-19 17:16:51.105
  8. | File "/usr/local/lib/python3.11/site-packages/stripe/api_requestor.py", line 189, in handle_error_response
  9. 2023-12-19 17:16:51.105
  10. | self.handle_error_response(rbody, rcode, resp.data, rheaders)
  11. 2023-12-19 17:16:51.105
  12. | File "/usr/local/lib/python3.11/site-packages/stripe/api_requestor.py", line 440, in interpret_response
  13. 2023-12-19 17:16:51.105
  14. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  15. 2023-12-19 17:16:51.105
  16. | resp = self.interpret_response(rbody, rcode, rheaders)
  17. 2023-12-19 17:16:51.105
  18. | File "/usr/local/lib/python3.11/site-packages/stripe/api_requestor.py", line 140, in request
  19. 2023-12-19 17:16:51.105
  20. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  21. 2023-12-19 17:16:51.105
  22. | response, api_key = requestor.request(method_, url_, params, headers)
  23. 2023-12-19 17:16:51.105
  24. | File "/usr/local/lib/python3.11/site-packages/stripe/api_resources/abstract/api_resource.py", line 152, in _static_request
  25. 2023-12-19 17:16:51.105
  26. | cls._static_request(
  27. 2023-12-19 17:16:51.105
  28. | File "/usr/local/lib/python3.11/site-packages/stripe/api_resources/account.py", line 3910, in create_external_account
  29. 2023-12-19 17:16:51.105
  30. | stripe_service.stripe.Account.create_external_account(
  31. 2023-12-19 17:16:51.105
  32. | File "/code/src/routers/kyc_structure.py", line 217, in send_kyc_company_structure_to_stripe
  33. 2023-12-19 17:16:51.105
  34. | ^^^^^^^^^^^^^^^^^^^^^^^^
  35. 2023-12-19 17:16:51.105
  36. | result = context.run(func, *args)
  37. 2023-12-19 17:16:51.105
  38. | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 823, in run
  39. 2023-12-19 17:16:51.105
  40. | ^^^^^^^^^^^^
  41. 2023-12-19 17:16:51.105
  42. | return await future
  43. 2023-12-19 17:16:51.105
  44. | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2103, in run_sync_in_worker_thread
  45. 2023-12-19 17:16:51.105
  46. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  47. 2023-12-19 17:16:51.105
  48. | return await get_async_backend().run_sync_in_worker_thread(
  49. 2023-12-19 17:16:51.105
  50. | File "/usr/local/lib/python3.11/site-packages/anyio/to_thread.py", line 49, in run_sync
  51. 2023-12-19 17:16:51.105
  52. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  53. 2023-12-19 17:16:51.105
  54. | return await anyio.to_thread.run_sync(func, *args)
  55. 2023-12-19 17:16:51.105
  56. | File "/usr/local/lib/python3.11/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
  57. 2023-12-19 17:16:51.105
  58. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  59. 2023-12-19 17:16:51.105
  60. | return await run_in_threadpool(dependant.call, **values)
  61. 2023-12-19 17:16:51.105
  62. | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 192, in run_endpoint_function
  63. 2023-12-19 17:16:51.105
  64. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  65. 2023-12-19 17:16:51.105
  66. | raw_response = await run_endpoint_function(
  67. 2023-12-19 17:16:51.105
  68. | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
  69. 2023-12-19 17:16:51.105
  70. | ^^^^^^^^^^^^^^^^^^^
  71. 2023-12-19 17:16:51.105
  72. | response = await func(request)
  73. 2023-12-19 17:16:51.105
  74. | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
  75. 2023-12-19 17:16:51.105
  76. | await self.app(scope, receive, send)
  77. 2023-12-19 17:16:51.105
  78. | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
  79. 2023-12-19 17:16:51.105
  80. | await route.handle(scope, receive, send)
  81. 2023-12-19 17:16:51.105
  82. | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
  83. 2023-12-19 17:16:51.105
  84. | await self.app(scope, receive, send)
  85. 2023-12-19 17:16:51.105
  86. | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
  87. 2023-12-19 17:16:51.105
  88. | raise e
  89. 2023-12-19 17:16:51.105
  90. | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
  91. 2023-12-19 17:16:51.105
  92. | await self.app(scope, receive, sender)
  93. 2023-12-19 17:16:51.105
  94. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
  95. 2023-12-19 17:16:51.105
  96. | raise exc
  97. 2023-12-19 17:16:51.105
  98. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
  99. 2023-12-19 17:16:51.105
  100. | await self.app(scope, receive_or_disconnect, send_no_error)
  101. 2023-12-19 17:16:51.105
  102. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
  103. 2023-12-19 17:16:51.105
  104. | raise app_exc
  105. 2023-12-19 17:16:51.105
  106. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
  107. 2023-12-19 17:16:51.105
  108. | ^^^^^^^^^^^^^^^^^^^^^^^^
  109. 2023-12-19 17:16:51.105
  110. | return await call_next(request)
  111. 2023-12-19 17:16:51.105
  112. | File "/code/src/middlewares.py", line 53, in dispatch
  113. 2023-12-19 17:16:51.105
  114. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  115. 2023-12-19 17:16:51.105
  116. | response = await self.dispatch_func(request, call_next)
  117. 2023-12-19 17:16:51.105
  118. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
  119. 2023-12-19 17:16:51.105
  120. | Traceback (most recent call last):
  121. 2023-12-19 17:16:51.105
  122. |
  123. 2023-12-19 17:16:51.105
  124. | During handling of the above exception, another exception occurred:
  125. 2023-12-19 17:16:51.105
  126. |
  127. 2023-12-19 17:16:51.105
  128. | anyio.EndOfStream
  129. 2023-12-19 17:16:51.105
  130. | raise EndOfStream
  131. 2023-12-19 17:16:51.105
  132. | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 112, in receive
  133. 2023-12-19 17:16:51.105
  134. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  135. 2023-12-19 17:16:51.105
  136. | message = await recv_stream.receive()
  137. 2023-12-19 17:16:51.105
  138. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 78, in call_next
  139. 2023-12-19 17:16:51.105
  140. | Traceback (most recent call last):
  141. 2023-12-19 17:16:51.105
  142. |
  143. 2023-12-19 17:16:51.105
  144. | During handling of the above exception, another exception occurred:
  145. 2023-12-19 17:16:51.105
  146. |
  147. 2023-12-19 17:16:51.105
  148. | anyio.WouldBlock
  149. 2023-12-19 17:16:51.105
  150. | raise WouldBlock
  151. 2023-12-19 17:16:51.105
  152. | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 92, in receive_nowait
  153. 2023-12-19 17:16:51.105
  154. | ^^^^^^^^^^^^^^^^^^^^^
  155. 2023-12-19 17:16:51.105
  156. | return self.receive_nowait()
  157. 2023-12-19 17:16:51.105
  158. | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 97, in receive
  159. 2023-12-19 17:16:51.105
  160. | Traceback (most recent call last):
  161. 2023-12-19 17:16:51.105
  162. +-+---------------- 1 ----------------
  163. 2023-12-19 17:16:51.105
  164. | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  165. 2023-12-19 17:16:51.105
  166. | raise BaseExceptionGroup(
  167. 2023-12-19 17:16:51.105
  168. | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 658, in __aexit__
  169. 2023-12-19 17:16:51.105
  170. | async with anyio.create_task_group() as task_group:
  171. 2023-12-19 17:16:51.105
  172. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 106, in __call__
  173. 2023-12-19 17:16:51.105
  174. | await self.app(scope, receive, send)
  175. 2023-12-19 17:16:51.105
  176. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 146, in simple_response
  177. 2023-12-19 17:16:51.105
  178. | await self.simple_response(scope, receive, send, request_headers=headers)
  179. 2023-12-19 17:16:51.105
  180. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 91, in __call__
  181. 2023-12-19 17:16:51.105
  182. | await self.app(scope, receive, _send)
  183. 2023-12-19 17:16:51.105
  184. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
  185. 2023-12-19 17:16:51.105
  186. | raise exc
  187. 2023-12-19 17:16:51.105
  188. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
  189. 2023-12-19 17:16:51.105
  190. | await self.middleware_stack(scope, receive, send)
  191. 2023-12-19 17:16:51.105
  192. | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
  193. 2023-12-19 17:16:51.105
  194. | await super().__call__(scope, receive, send)
  195. 2023-12-19 17:16:51.105
  196. | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 289, in __call__
  197. 2023-12-19 17:16:51.105
  198. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  199. 2023-12-19 17:16:51.105
  200. | return await self.app(scope, receive, send)
  201. 2023-12-19 17:16:51.105
  202. | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
  203. 2023-12-19 17:16:51.105
  204. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  205. 2023-12-19 17:16:51.105
  206. | result = await app( # type: ignore[func-returns-value]
  207. 2023-12-19 17:16:51.105
  208. | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
  209. 2023-12-19 17:16:51.105
  210. + Exception Group Traceback (most recent call last):
  211. 2023-12-19 17:16:51.105
  212.  
  213. 2023-12-19 17:16:51.105
  214. During handling of the above exception, another exception occurred:
  215. 2023-12-19 17:16:51.105
  216.  
  217. 2023-12-19 17:16:51.105
  218. stripe.error.InvalidRequestError: Request req_udgMtKybUsbmkT: Invalid routing number
  219. 2023-12-19 17:16:51.105
  220. raise err
  221. 2023-12-19 17:16:51.105
  222. File "/usr/local/lib/python3.11/site-packages/stripe/api_requestor.py", line 189, in handle_error_response
  223. 2023-12-19 17:16:51.105
  224. self.handle_error_response(rbody, rcode, resp.data, rheaders)
  225. 2023-12-19 17:16:51.105
  226. File "/usr/local/lib/python3.11/site-packages/stripe/api_requestor.py", line 440, in interpret_response
  227. 2023-12-19 17:16:51.105
  228. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  229. 2023-12-19 17:16:51.105
  230. resp = self.interpret_response(rbody, rcode, rheaders)
  231. 2023-12-19 17:16:51.104
  232. File "/usr/local/lib/python3.11/site-packages/stripe/api_requestor.py", line 140, in request
  233. 2023-12-19 17:16:51.104
  234. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  235. 2023-12-19 17:16:51.104
  236. response, api_key = requestor.request(method_, url_, params, headers)
  237. 2023-12-19 17:16:51.104
  238. File "/usr/local/lib/python3.11/site-packages/stripe/api_resources/abstract/api_resource.py", line 152, in _static_request
  239. 2023-12-19 17:16:51.104
  240. cls._static_request(
  241. 2023-12-19 17:16:51.104
  242. File "/usr/local/lib/python3.11/site-packages/stripe/api_resources/account.py", line 3910, in create_external_account
  243. 2023-12-19 17:16:51.104
  244. stripe_service.stripe.Account.create_external_account(
  245. 2023-12-19 17:16:51.104
  246. File "/code/src/routers/kyc_structure.py", line 217, in send_kyc_company_structure_to_stripe
  247. 2023-12-19 17:16:51.104
  248. ^^^^^^^^^^^^^^^^^^^^^^^^
  249. 2023-12-19 17:16:51.104
  250. result = context.run(func, *args)
  251. 2023-12-19 17:16:51.104
  252. File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 823, in run
  253. 2023-12-19 17:16:51.104
  254. ^^^^^^^^^^^^
  255. 2023-12-19 17:16:51.104
  256. return await future
  257. 2023-12-19 17:16:51.104
  258. File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2103, in run_sync_in_worker_thread
  259. 2023-12-19 17:16:51.104
  260. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  261. 2023-12-19 17:16:51.104
  262. return await get_async_backend().run_sync_in_worker_thread(
  263. 2023-12-19 17:16:51.104
  264. File "/usr/local/lib/python3.11/site-packages/anyio/to_thread.py", line 49, in run_sync
  265. 2023-12-19 17:16:51.104
  266. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  267. 2023-12-19 17:16:51.104
  268. return await anyio.to_thread.run_sync(func, *args)
  269. 2023-12-19 17:16:51.104
  270. File "/usr/local/lib/python3.11/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
  271. 2023-12-19 17:16:51.104
  272. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  273. 2023-12-19 17:16:51.104
  274. return await run_in_threadpool(dependant.call, **values)
  275. 2023-12-19 17:16:51.104
  276. File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 192, in run_endpoint_function
  277. 2023-12-19 17:16:51.104
  278. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  279. 2023-12-19 17:16:51.104
  280. raw_response = await run_endpoint_function(
  281. 2023-12-19 17:16:51.104
  282. File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
  283. 2023-12-19 17:16:51.104
  284. ^^^^^^^^^^^^^^^^^^^
  285. 2023-12-19 17:16:51.104
  286. response = await func(request)
  287. 2023-12-19 17:16:51.104
  288. File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
  289. 2023-12-19 17:16:51.104
  290. await self.app(scope, receive, send)
  291. 2023-12-19 17:16:51.104
  292. File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
  293. 2023-12-19 17:16:51.104
  294. await route.handle(scope, receive, send)
  295. 2023-12-19 17:16:51.104
  296. File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
  297. 2023-12-19 17:16:51.104
  298. await self.app(scope, receive, send)
  299. 2023-12-19 17:16:51.104
  300. File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
  301. 2023-12-19 17:16:51.104
  302. raise e
  303. 2023-12-19 17:16:51.104
  304. File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
  305. 2023-12-19 17:16:51.104
  306. await self.app(scope, receive, sender)
  307. 2023-12-19 17:16:51.104
  308. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
  309. 2023-12-19 17:16:51.104
  310. raise exc
  311. 2023-12-19 17:16:51.104
  312. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
  313. 2023-12-19 17:16:51.104
  314. await self.app(scope, receive_or_disconnect, send_no_error)
  315. 2023-12-19 17:16:51.104
  316. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
  317. 2023-12-19 17:16:51.104
  318. raise app_exc
  319. 2023-12-19 17:16:51.104
  320. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
  321. 2023-12-19 17:16:51.104
  322. ^^^^^^^^^^^^^^^^^^^^^^^^
  323. 2023-12-19 17:16:51.104
  324. return await call_next(request)
  325. 2023-12-19 17:16:51.104
  326. File "/code/src/middlewares.py", line 53, in dispatch
  327. 2023-12-19 17:16:51.104
  328. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  329. 2023-12-19 17:16:51.104
  330. response = await self.dispatch_func(request, call_next)
  331. 2023-12-19 17:16:51.104
  332. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
  333. 2023-12-19 17:16:51.104
  334. Traceback (most recent call last):
  335. 2023-12-19 17:16:51.104
  336. ERROR: Exception in ASGI application
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement