Warning: file_get_contents(https://ws-old.parlament.ch/affairs?format=json&lang=en): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
in /var/www/html/lib/api.php on line 26
Fatal error: Uncaught Exception: API request failed: https://ws-old.parlament.ch/affairs?format=json&lang=en
Array
(
[type] => 2
[message] => file_get_contents(https://ws-old.parlament.ch/affairs?format=json&lang=en): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
[file] => /var/www/html/lib/api.php
[line] => 26
)
in /var/www/html/lib/api.php:30
Stack trace:
#0 /var/www/html/lib/api.php(53): callApi('affairs')
#1 /var/www/html/index.php(6): getAffairs()
#2 {main}
thrown in /var/www/html/lib/api.php on line 30