dharmatech / net-liquidity.ps1

70 stars 10 forks source link

API Error : Path parameter fiscal_service/v1/accounting/dts/dts_table_1 does not exist #3

Closed jboo2412 closed 10 months ago

jboo2412 commented 10 months ago

Hello,

First, thanks for sharing your work :) I installed it on MacOS and get this error related to the API :

Invoke-RestMethod: /Users/john/Downloads/net-liquidity-walcl.ps1:8
Line | 8 | … $result = Invoke-RestMethod -Method Get -Uri ('https://api.fiscalda … | ~~~~~~~~~~~~~ | { "error": "Bad Path Param", "message": "Path parameter fiscal_service/v1/accounting/dts/dts_table_1 does not | exist, for more information please see the documentation." } InvalidOperation: /Users/john/Downloads/net-liquidity-walcl.ps1:59 Line | 59 | $earliest = ($tga_dates | Sort-Object)[0] | ~~~~~~~~~ | Cannot index into a null array.

but the graphs appears correctly.

Screenshot 2023-12-10 at 20 12 00
jboo2412 commented 10 months ago

fixed in net-liquidity-earnings-remittances.ps1