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
ForexDataClient class, getQuotes function does not handle errors returned from the API.
For example, if quota has been exceeded, API returns something like:
{
"error": true
"message": "Your quota has been used fully. Quotas reset at midnight EST. If you have any questions please email us at [email protected]"
}
but code ignores that and just tries to read quote data - which doesn't exist and PHP notices get thrown.
The text was updated successfully, but these errors were encountered:
ForexDataClient class, getQuotes function does not handle errors returned from the API.
For example, if quota has been exceeded, API returns something like:
but code ignores that and just tries to read quote data - which doesn't exist and PHP notices get thrown.
The text was updated successfully, but these errors were encountered: