You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type error: Return value of Kreait\Firebase\Exception\ApiException::getRequest() must implement interface Psr\Http\Message\RequestInterface, null returned
#155
Closed
vokomarov opened this issue
Jan 19, 2018
· 3 comments
1. Which version of kreait/firebase-php are you using?
3.8.2
2. Which version of PHP are you using?
7.1.4
3. What's the issue?
Sometimes Firebase Realtime Database return 503 status code.
When i try to retrieve the request or response instance from Kreait\Firebase\Exception\ApiExceptioninstance on the catch block when this exception was throwed if request to Firebase Realtime Database returned with HTTP status 503 it throw a type error: Type error: Return value of Kreait\Firebase\Exception\ApiException::getRequest() must implement interface Psr\Http\Message\RequestInterface, null returned.
I cannot investigate why RDB return 503 sometimes because cannot get original request and response.
1. Which version of
kreait/firebase-php
are you using?3.8.2
2. Which version of PHP are you using?
7.1.4
3. What's the issue?
Sometimes Firebase Realtime Database return 503 status code.
When i try to retrieve the request or response instance from
Kreait\Firebase\Exception\ApiException
instance on thecatch
block when this exception was throwed if request to Firebase Realtime Database returned with HTTP status 503 it throw a type error:Type error: Return value of Kreait\Firebase\Exception\ApiException::getRequest() must implement interface Psr\Http\Message\RequestInterface, null returned
.I cannot investigate why RDB return 503 sometimes because cannot get original request and response.
4. Code that lead to the issue
The text was updated successfully, but these errors were encountered: