Exception Foursquare回调错误未捕获异常

Exception Foursquare回调错误未捕获异常,exception,callback,foursquare,Exception,Callback,Foursquare,我在应用程序中使用foursquare API。我在本地计算机上运行应用程序时没有问题,但在服务器上,当用户允许应用程序并重定向到回调url后,我会收到此错误 Fatal error: Uncaught exception 'EpiFoursquareException' in /home/content/40/9029540/html/earlybirds/test/lib/EpiFoursquare.php:252 Stack trace: #0 /home/content/40/90295

我在应用程序中使用foursquare API。我在本地计算机上运行应用程序时没有问题,但在服务器上,当用户允许应用程序并重定向到回调url后,我会收到此错误

Fatal error: Uncaught exception 'EpiFoursquareException'
in /home/content/40/9029540/html/earlybirds/test/lib/EpiFoursquare.php:252
Stack trace:
#0 /home/content/40/9029540/html/earlybirds/test/lib/EpiFoursquare.php(208): EpiFoursquareException::raise(Object(EpiCurlManager), false) 
#1 /home/content/40/9029540/html/earlybirds/test/lib/EpiFoursquare.php(196): EpiFoursquareJson->__get('response')
#2 /home/content/40/9029540/html/earlybirds/test/callback.php(45): EpiFoursquareJson->offsetGet('access_token')
#3 {main} thrown in /home/content/40/9029540/html/earlybirds/test/lib/EpiFoursquare.php on line 252
有人知道原因吗?
我使用PHP和mysql

确保在构建auth url时发送redirect_uri参数,并且它与APP details页面上的参数匹配。我必须制作两个应用程序,一个用于本地测试,另一个用于在我的开发服务器上测试,当然,它有一个不同的URL