简体   繁体   English

验证问题

[英]Authentication issues

I have been using the API with no problems for a long time. 我使用API​​已有很长时间了。 All of a sudden I'm getting this error: 突然我收到这个错误:

PHP Fatal error: Uncaught PodioError 
Request URL:

Stack Trace: 
#0 /srv/users/serverpilot/apps/dellentconsulting/public/vendor/podio/lib/Podio.php(93): Podio::request('POST', '/oauth/token', Array, Array) 
#1 /srv/users/serverpilot/apps/dellentconsulting/public/pages/careers.php(97): Podio::authenticate('app', Array) 
#2 /srv/users/serverpilot/apps/dellentconsulting/public/index.php(58): include('/srv/users/serv...') 
#3 {main} 
thrown in /srv/users/serverpilot/apps/dellentconsulting/public/vendor/podio/lib/Podio.php on line 283

I didn't make any changes in my code, or applications key. 我没有对代码或应用程序密钥进行任何更改。

The error occurs in this code fragment: 此代码片段中发生错误:

<?php 

    require_once 'vendor/podio/PodioAPI.php'; 
    require_once 'vendor/podio/utils/config-careers.php'; 
    Podio::setup(CLIENT_ID, CLIENT_SECRET); 
    if (!Podio::is_authenticated()) { 
    Podio::authenticate('app', array('app_id' => APP_ID, 'app_token' => APP_TOKEN)); 

}

I already made a restart to the server. 我已经重新启动了服务器。

有点大胆的猜测,但这可能是网络问题,您是否一直检查是否可以从服务器访问Podio API?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM