Message: 403 Not Allowed error received from API host Path: videos/getUserVideosByReport Parameters: array ( 'userId' => '409950', 'reportId' => '3726068', 'orderDirection' => 'ASC', 'count' => 20, ) Response: HTTP/1.1 403 Forbidden Date: Thu, 09 May 2024 08:39:04 GMT Server: Apache/2.4.10 (Debian) Access-control-allow-origin: * Access-control-allow-methods: POST, GET, OPTIONS, DELETE, PUT Access-control-max-age: 1000 Access-control-allow-headers: x-requested-with, Content-Type, origin, authorization, accept, client-security-token Content-length: 0 Connection: close Content-type: text/html; charset=UTF-8 Probably you should catch this exception!
File: /srv/www/tl-www/website/application/library/TravelLog/ApiClient/HttpApiClient.php Line: 156
#0 /srv/www/tl-www/website/application/library/TravelLog/ApiClient/HttpApiClient.php(203): TravelLog\ApiClient\HttpApiClient->handleErrors(Object(TravelLog\RestClient), Array) #1 /srv/www/tl-www/website/application/library/TravelLog/Gateway/Videos.php(189): TravelLog\ApiClient\HttpApiClient->read(Array) #2 /srv/www/tl-www/website/application/modules/user/controllers/ReportsController.php(259): TravelLog\Gateway\Videos->getUserVideosByReport(Array) #3 /opt/ZendFramework-1.12.0/library/Zend/Controller/Action.php(516): User_ReportsController->reportAction() #4 /opt/ZendFramework-1.12.0/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('reportAction') #5 /opt/ZendFramework-1.12.0/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #6 /opt/ZendFramework-1.12.0/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #7 /opt/ZendFramework-1.12.0/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #8 /srv/www/tl-www/website/public/index.php(202): Zend_Application->run() #9 {main}
object(TravelLog\ApiException\NotAllowedException)#314 (8) { ["_previous":"Zend_Exception":private]=> NULL ["message":protected]=> string(654) "403 Not Allowed error received from API host Path: videos/getUserVideosByReport Parameters: array ( 'userId' => '409950', 'reportId' => '3726068', 'orderDirection' => 'ASC', 'count' => 20, ) Response: HTTP/1.1 403 Forbidden Date: Thu, 09 May 2024 08:39:04 GMT Server: Apache/2.4.10 (Debian) Access-control-allow-origin: * Access-control-allow-methods: POST, GET, OPTIONS, DELETE, PUT Access-control-max-age: 1000 Access-control-allow-headers: x-requested-with, Content-Type, origin, authorization, accept, client-security-token Content-length: 0 Connection: close Content-type: text/html; charset=UTF-8 Probably you should catch this exception!" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(81) "/srv/www/tl-www/website/application/library/TravelLog/ApiClient/HttpApiClient.php" ["line":protected]=> int(156) ["trace":"Exception":private]=> array(9) { [0]=> array(6) { ["file"]=> string(81) "/srv/www/tl-www/website/application/library/TravelLog/ApiClient/HttpApiClient.php" ["line"]=> int(203) ["function"]=> string(12) "handleErrors" ["class"]=> string(33) "TravelLog\ApiClient\HttpApiClient" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> object(TravelLog\RestClient)#296 (3) { ["_data":protected]=> array(0) { } ["_uri":protected]=> object(Zend_Uri_Http)#297 (9) { ["_username":protected]=> string(0) "" ["_password":protected]=> string(0) "" ["_host":protected]=> string(15) "api.easyapps.nl" ["_port":protected]=> string(0) "" ["_path":protected]=> string(29) "/videos/getUserVideosByReport" ["_query":protected]=> string(0) "" ["_fragment":protected]=> string(0) "" ["_regex":protected]=> array(5) { ["escaped"]=> string(16) "%[[:xdigit:]]{2}" ["unreserved"]=> string(24) "[A-Za-z0-9-_.!~*'()\[\]]" ["segment"]=> string(54) "(?:%[[:xdigit:]]{2}|[A-Za-z0-9-_.!~*'()\[\]:@&=+$,;])*" ["path"]=> string(66) "(?:\/(?:(?:%[[:xdigit:]]{2}|[A-Za-z0-9-_.!~*'()\[\]:@&=+$,;])*)?)+" ["uric"]=> string(56) "(?:%[[:xdigit:]]{2}|[A-Za-z0-9-_.!~*'()\[\];\/?:@&=+$,])" } ["_scheme":protected]=> string(4) "http" } ["_noReset":protected]=> bool(false) } [1]=> array(4) { ["userId"]=> string(6) "409950" ["reportId"]=> string(7) "3726068" ["orderDirection"]=> string(3) "ASC" ["count"]=> int(20) } } } [1]=> array(6) { ["file"]=> string(72) "/srv/www/tl-www/website/application/library/TravelLog/Gateway/Videos.php" ["line"]=> int(189) ["function"]=> string(4) "read" ["class"]=> string(33) "TravelLog\ApiClient\HttpApiClient" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(4) { ["userId"]=> string(6) "409950" ["reportId"]=> string(7) "3726068" ["orderDirection"]=> string(3) "ASC" ["count"]=> int(20) } } } [2]=> array(6) { ["file"]=> string(82) "/srv/www/tl-www/website/application/modules/user/controllers/ReportsController.php" ["line"]=> int(259) ["function"]=> string(21) "getUserVideosByReport" ["class"]=> string(24) "TravelLog\Gateway\Videos" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(4) { ["userId"]=> string(6) "409950" ["reportId"]=> string(7) "3726068" ["orderDirection"]=> string(3) "ASC" ["count"]=> int(20) } } } [3]=> array(6) { ["file"]=> string(60) "/opt/ZendFramework-1.12.0/library/Zend/Controller/Action.php" ["line"]=> int(516) ["function"]=> string(12) "reportAction" ["class"]=> string(22) "User_ReportsController" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [4]=> array(6) { ["file"]=> string(73) "/opt/ZendFramework-1.12.0/library/Zend/Controller/Dispatcher/Standard.php" ["line"]=> int(308) ["function"]=> string(8) "dispatch" ["class"]=> string(22) "Zend_Controller_Action" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(12) "reportAction" } } [5]=> array(6) { ["file"]=> string(59) "/opt/ZendFramework-1.12.0/library/Zend/Controller/Front.php" ["line"]=> int(954) ["function"]=> string(8) "dispatch" ["class"]=> string(35) "Zend_Controller_Dispatcher_Standard" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> object(Zend_Controller_Request_Http)#444 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(29) "/reisverslag/3726068/rode-zee" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(28) "reisverslag/3726068/rode-zee" ["_params":protected]=> array(7) { ["reportId"]=> string(7) "3726068" ["reportTitle"]=> string(8) "rode-zee" ["module"]=> string(4) "user" ["controller"]=> string(7) "reports" ["action"]=> string(6) "report" ["subdomain"]=> string(16) "familievillevoye" ["error_handler"]=> object(ArrayObject)#303 (1) { ["storage":"ArrayObject":private]=> array(3) { ["exception"]=> *RECURSION* ["type"]=> string(15) "EXCEPTION_OTHER" ["request"]=> object(Zend_Controller_Request_Http)#316 (15) { ["_paramSources":protected]=> array(2) { [0]=> string(4) "_GET" [1]=> string(5) "_POST" } ["_requestUri":protected]=> string(29) "/reisverslag/3726068/rode-zee" ["_baseUrl":protected]=> string(0) "" ["_basePath":protected]=> NULL ["_pathInfo":protected]=> string(28) "reisverslag/3726068/rode-zee" ["_params":protected]=> array(6) { ["reportId"]=> string(7) "3726068" ["reportTitle"]=> string(8) "rode-zee" ["module"]=> string(4) "user" ["controller"]=> string(7) "reports" ["action"]=> string(6) "report" ["subdomain"]=> string(16) "familievillevoye" } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(4) "user" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(7) "reports" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(6) "report" ["_actionKey":protected]=> string(6) "action" } } } } ["_rawBody":protected]=> NULL ["_aliases":protected]=> array(0) { } ["_dispatched":protected]=> bool(true) ["_module":protected]=> string(4) "home" ["_moduleKey":protected]=> string(6) "module" ["_controller":protected]=> string(5) "error" ["_controllerKey":protected]=> string(10) "controller" ["_action":protected]=> string(16) "page-not-allowed" ["_actionKey":protected]=> string(6) "action" } [1]=> object(Zend_Controller_Response_Http)#441 (8) { ["_body":protected]=> array(1) { ["default"]=> string(70) "Access denied
" } ["_exceptions":protected]=> array(1) { [0]=> *RECURSION* } ["_headers":protected]=> array(0) { } ["_headersRaw":protected]=> array(0) { } ["_httpResponseCode":protected]=> int(200) ["_isRedirect":protected]=> bool(false) ["_renderExceptions":protected]=> bool(false) ["headersSentThrowsException"]=> bool(true) } } } [6]=> array(6) { ["file"]=> string(74) "/opt/ZendFramework-1.12.0/library/Zend/Application/Bootstrap/Bootstrap.php" ["line"]=> int(97) ["function"]=> string(8) "dispatch" ["class"]=> string(21) "Zend_Controller_Front" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [7]=> array(6) { ["file"]=> string(54) "/opt/ZendFramework-1.12.0/library/Zend/Application.php" ["line"]=> int(366) ["function"]=> string(3) "run" ["class"]=> string(36) "Zend_Application_Bootstrap_Bootstrap" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [8]=> array(6) { ["file"]=> string(40) "/srv/www/tl-www/website/public/index.php" ["line"]=> int(202) ["function"]=> string(3) "run" ["class"]=> string(16) "Zend_Application" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } ["previous":"Exception":private]=> NULL }