Support Topics Documentation Slack YouTube Blog

keep getting Uncaught exception with message 'API responce'


(Salman AlQuraishi) #1

So I’m using the PHP Sdk, and while loading a page I get this warning

file_get_contents(https://api.backendless.com/v1/data/Company?pageSize=3&sortBy=created+DESC): failed to open stream: Connection timed out in/home/majram5/public_html/test/vendor/backendless/src/lib/HttpRequest.php on line 120

which is followed by an exception,

Uncaught exception 'backendless\exception\BackendlessException' with message 'API responce ' in /home/majram5/public_html/test/vendor/backendless/src/lib/RequestBuilder.php:158 

The problem keeps persisting and it gets annoying. Sometimes I’d have to wait a bit and then refresh the page for the contents to load. What’s going on?


(Salman AlQuraishi) #2

This is very bad.


(Sergey Kukurudzyak) #3

please provide your application id


(Salman AlQuraishi) #4

Here you go, E71C29AB-56F8-BF79-FFB2-5EDE470B8A00


(Sergey Kukurudzyak) #5

I can’t reproduce your issue. Is it possible that you have an issue with internet?