florianv / laravel-swap

:dollar: Currency exchange rates for Laravel and Lumen
https://florianv.github.io/laravel-swap/
MIT License
328 stars 44 forks source link

Abstract API integration seems to be broken #92

Open juliangums opened 5 months ago

juliangums commented 5 months ago

Trying to get the EUR/USD rate from yesterday. Newly created account, everything on newest version.


   Exchanger\Exception\ChainException 

  The chain resulted in 1 exception(s):
RuntimeException: Unable to parse JSON data: JSON_ERROR_SYNTAX - Syntax error, malformed JSON

  at vendor/florianv/exchanger/src/Service/Chain.php:69
     65▕                 $exceptions[] = $e;
     66▕             }
     67▕         }
     68▕ 
  ➜  69▕         throw new ChainException($exceptions);
     70▕     }
     71▕ 
     72▕     /**
     73▕      * {@inheritdoc}

      +4 vendor frames 

  5   app/Console/Commands/GetExchangeRatesCommand.php:51
      Illuminate\Support\Facades\Facade::__callStatic("historical")
      +12 vendor frames 

  18  artisan:35
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
chadanuk commented 2 months ago

We're also experiencing this