Jump to content

REST API: Data too long for column 'response_output'


DreamOn

Recommended Posts

Posted

Hello,

I want to get topics from external website, so I make API request like this :

$response = \Httpful\Request::get(IPB_URL . '/api/forums/topics?page=1')
->authenticateWith('XXX', '')
->send();

But I have this error :

IPS\Db\Exception thrown with message "Data too long for column 'response_output' at row 1"

Stacktrace:
#3 IPS\Db\Exception in C:\xampp\htdocs\sites\lecrabeinfo\forums\system\Db\Db.php:427
#2 IPS\_Db:preparedQuery in C:\xampp\htdocs\sites\lecrabeinfo\forums\system\Db\Db.php:661
#1 IPS\_Db:insert in C:\xampp\htdocs\sites\lecrabeinfo\forums\system\Dispatcher\Api.php:223
#0 IPS\Dispatcher\_Api:run in C:\xampp\htdocs\sites\lecrabeinfo\forums\api\index.php:13

Can you help me?

Thanks.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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