Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response "404 NotFound - Not Found - Brak danych" while trying get data from Table B #15

Closed
marcinchus opened this issue Aug 5, 2024 · 1 comment · Fixed by #18
Closed
Labels

Comments

@marcinchus
Copy link

The problem is that probably due to a change in the update logic of Table B (https://nbp.pl/statystyka-i-sprawozdawczosc/kursy/informacja-o-terminach-publikacji-kursow-walut) , currently Table B is empty (https://api.nbp.pl/api/exchangerates/tables/B/2024-08-04/2024-08-05) and this causes a problem also with retrieving data from Table A in this method:

public function fromDay($date): TablesDictionary

@supernrm
Copy link

supernrm commented Aug 6, 2024

$currencyAverages->fromDayBefore('2024-08-01')->fromTable('A')->getRate('EUR');

HTTP/1.1 404 Not Found - Brak danych returned for "https://api.nbp.pl/api/exchangerates/tables/B/2024-08-01/2024-08-06".

@maciej-sz projekt jest porzucony?

maciej-sz added a commit that referenced this issue Aug 6, 2024
maciej-sz added a commit that referenced this issue Aug 6, 2024
maciej-sz added a commit that referenced this issue Aug 6, 2024
maciej-sz added a commit that referenced this issue Aug 6, 2024
* #15 - fix for missing table B
@maciej-sz maciej-sz added the bug label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants