Jump to content

Recommended Posts

Posted

Hi, I am inconstantly getting the following error while attempting to request information from a database using.


/api/cms/records/{database_id}
 

    <body>
        <div id='error'>
            <h1>An error occurred <span>(500 Error)</span></h1>
            <div id='content'>
                We're sorry, but a temporary technical error has occurred which means we cannot display this site right now.
                <br><br>
                                You can try again by clicking the button below, or try again later.
                <br><br>
                <button onclick="window.location.reload();" id='reload_button'>Try again</button>
            </div>
        </div>
    </body>



I am getting errors roughly every 10 or so successful responses - Getting these errors using both a API key and OAuth. 

This is grinding our project to a stop at the moment so any support or suggestions would be much appreciated ! 

P.S - I've just updated to the latest version and I am still getting this error.

Posted (edited)

Yea, double checked them now again I don't see anything too specific. Two recent exceptions :

Type : Paypal

{"name":"PAYER_ACTION_REQUIRED","message":"Transaction cannot complete successfully, instruct the buyer to return to PayPal.","information_link":"https://developer.paypal.com/docs/api/payments/v1/#error-PAYER_ACTION_REQUIRED","debug_id":"84725ec1af5b0","links":[{"href":"https://www.paypal.com/webapps/helios?action=resolve&cart_id=57688211X8349704X&payer_id=CR6XF2RU8G72U&redirect_uri=","rel":"https://uri.paypal.com/rel/resolution","method":"REDIRECT"}]}
There was an error processing the payment. Please try a different payment method or contact us for assistance.

 Back Trace :
 

#0 /var/www/html/106154/applications/nexus/interface/gateways/paypal.php(164): IPS\nexus\Gateway\_PayPal->api('payments/paymen...', Array)
#1 {main}


Type : API
Operation now in progress

Operation now in progress

Back Trace:
 

#0 /var/www/html/106154/system/Db/Db.php(353): IPS\_Db->_establishConnection(false)
#1 /var/www/html/106154/system/Db/Db.php(484): IPS\_Db->checkConnection(false)
#2 /var/www/html/106154/system/Db/Db.php(1156): IPS\_Db->preparedQuery('UPDATE `cms_cus...', Array)
#3 /var/www/html/106154/system/Patterns/ActiveRecord.php(520): IPS\_Db->update('`cms_custom_dat...', '`field_141`=?', 'WHERE primary_i...')
#4 /var/www/html/106154/applications/cms/sources/Records/Records.php(1916): IPS\Patterns\_ActiveRecord->save()
#5 /var/www/html/106154/applications/cms/api/records.php(535): IPS\cms\_Records->save()
#6 /var/www/html/106154/applications/cms/api/records.php(378): IPS\cms\api\_records->_createOrUpdate(Object(IPS\cms\Records30), 'edit')
#7 /var/www/html/106154/system/Api/Controller.php(180): IPS\cms\api\_records->POSTitem(Object(IPS\cms\Databases), Object(IPS\cms\Records30))
#8 /var/www/html/106154/system/Dispatcher/Api.php(329): IPS\Api\_Controller->execute(Array, false)
#9 /var/www/html/106154/api/index.php(11): IPS\Dispatcher\_Api->run()
#10 {main}


As for the REST API logs - I don't see anything unusual there either in-fact.  All the status codes return 200 and if I try to filter by failed requests the page just loads forever and nothing is ever shown.

If you need anymore info from me please just shout ! 

Edited by InfinityRazz
Posted

Sorry, could I confirm you have checked your server error logs, and not the system logs in the ACP? I ask as thes elook like they are from system logs

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...