Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "service": "api",
- "method": "POST",
- "parameters": {
- "origin_lang": "ru",
- "post": {
- "body": "Новая запись 88",
- "image": [
- {
- "id": ""
- }
- ]
- },
- "version": "v1",
- "service": "feed",
- "path": "\/FU-43\/post"
- },
- "response": {
- "httpCode": 500,
- "code": "service_transmit",
- "message": "Invalid JSON has been received: {\n \"service\": \"feed\",\n \"method\": \"POST\",\n \"parameters\": {\n \"origin_lang\": \"ru\",\n \"post\": {\n \"body\": \"Новая запись 88\",\n \"image\": [\n {\n \"id\": \"\"\n }\n ]\n },\n \"origin_user_id\": \"43\",\n \"origin_access_role\": \"traveler\",\n \"origin_service\": \"api\",\n \"FEED_ID\": \"FU-43\"\n },\n \"response\": {\n \"httpCode\": 404,\n \"code\": \"unknown\",\n \"message\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\"\n },\n \"details\": {\n \"code\": 200,\n \"type\": \"PhpAmqpLib\\\\Exception\\\\AMQPProtocolChannelException\",\n \"errorCode\": 404,\n \"message\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/videlalvaro\\\/php-amqplib\\\/PhpAmqpLib\\\/Channel\\\/AMQPChannel.php\",\n \"line\": 166,\n \"traces\": {\n \"2\": {\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/yiisoft\\\/yii\\\/framework\\\/base\\\/CApplication.php\",\n \"line\": 856,\n \"function\": \"raiseEvent\",\n \"class\": \"CComponent\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n \"onException\",\n {\n \"exception\": {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n },\n \"sender\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"handled\": true,\n \"params\": null\n }\n ]\n },\n \"3\": {\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/yiisoft\\\/yii\\\/framework\\\/base\\\/CApplication.php\",\n \"line\": 727,\n \"function\": \"onException\",\n \"class\": \"CApplication\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n {\n \"exception\": {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n },\n \"sender\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"handled\": true,\n \"params\": null\n }\n ]\n },\n \"4\": {\n \"function\": \"handleException\",\n \"class\": \"CApplication\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n }\n ]\n }\n }\n },\n \"controller\": \"FeedController\",\n \"action\": \"createPost\",\n \"status\": \"error\"\n}<br \/>\n<b>Warning<\/b>: array_push() expects parameter 1 to be array, null given in <b>\/home\/tnet\/unstable\/vendor\/videlalvaro\/php-amqplib\/PhpAmqpLib\/Connection\/AbstractConnection.php<\/b> on line <b>352<\/b><br \/>\n"
- },
- "details": {
- "code": 200,
- "type": "transport\\SoaException",
- "errorCode": 500,
- "message": "Invalid JSON has been received: {\n \"service\": \"feed\",\n \"method\": \"POST\",\n \"parameters\": {\n \"origin_lang\": \"ru\",\n \"post\": {\n \"body\": \"Новая запись 88\",\n \"image\": [\n {\n \"id\": \"\"\n }\n ]\n },\n \"origin_user_id\": \"43\",\n \"origin_access_role\": \"traveler\",\n \"origin_service\": \"api\",\n \"FEED_ID\": \"FU-43\"\n },\n \"response\": {\n \"httpCode\": 404,\n \"code\": \"unknown\",\n \"message\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\"\n },\n \"details\": {\n \"code\": 200,\n \"type\": \"PhpAmqpLib\\\\Exception\\\\AMQPProtocolChannelException\",\n \"errorCode\": 404,\n \"message\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/videlalvaro\\\/php-amqplib\\\/PhpAmqpLib\\\/Channel\\\/AMQPChannel.php\",\n \"line\": 166,\n \"traces\": {\n \"2\": {\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/yiisoft\\\/yii\\\/framework\\\/base\\\/CApplication.php\",\n \"line\": 856,\n \"function\": \"raiseEvent\",\n \"class\": \"CComponent\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n \"onException\",\n {\n \"exception\": {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n },\n \"sender\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"handled\": true,\n \"params\": null\n }\n ]\n },\n \"3\": {\n \"file\": \"\\\/home\\\/tnet\\\/unstable\\\/vendor\\\/yiisoft\\\/yii\\\/framework\\\/base\\\/CApplication.php\",\n \"line\": 727,\n \"function\": \"onException\",\n \"class\": \"CApplication\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n {\n \"exception\": {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n },\n \"sender\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"handled\": true,\n \"params\": null\n }\n ]\n },\n \"4\": {\n \"function\": \"handleException\",\n \"class\": \"CApplication\",\n \"object\": {\n \"appStyle\": 1,\n \"defaultController\": \"site\",\n \"layout\": \"main\",\n \"controllerMap\": [],\n \"catchAllRequest\": null,\n \"controllerNamespace\": null,\n \"name\": \"Yes, I Go.com\",\n \"charset\": \"UTF-8\",\n \"sourceLanguage\": \"en_us\",\n \"preload\": [\n \"log\",\n \"transport\",\n \"transport\"\n ],\n \"behaviors\": []\n },\n \"type\": \"->\",\n \"args\": [\n {\n \"amqp_reply_code\": 404,\n \"amqp_reply_text\": \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n \"amqp_method_sig\": [\n 60,\n 40\n ],\n \"args\": [\n 404,\n \"NOT_FOUND - no exchange 'feed_post_batching_unstable' in vhost '\\\/'\",\n [\n 60,\n 40\n ],\n \"Basic.publish\"\n ]\n }\n ]\n }\n }\n },\n \"controller\": \"FeedController\",\n \"action\": \"createPost\",\n \"status\": \"error\"\n}<br \/>\n<b>Warning<\/b>: array_push() expects parameter 1 to be array, null given in <b>\/home\/tnet\/unstable\/vendor\/videlalvaro\/php-amqplib\/PhpAmqpLib\/Connection\/AbstractConnection.php<\/b> on line <b>352<\/b><br \/>\n",
- "file": "\/home\/tnet\/unstable\/app\/extensions\/transport\/Transport.php",
- "line": 372,
- "traces": {
- "2": {
- "file": "\/home\/tnet\/unstable\/vendor\/yiisoft\/yii\/framework\/base\/CApplication.php",
- "line": 856,
- "function": "raiseEvent",
- "class": "CComponent",
- "object": {
- "appStyle": 2,
- "defaultController": "site",
- "layout": "main",
- "controllerMap": [],
- "catchAllRequest": null,
- "controllerNamespace": null,
- "name": "Yes, I Go.com",
- "charset": "UTF-8",
- "sourceLanguage": "en_us",
- "preload": [
- "log",
- "transport",
- "transport"
- ],
- "behaviors": []
- },
- "type": "->",
- "args": [
- "onException",
- {
- "exception": {},
- "sender": {
- "appStyle": 2,
- "defaultController": "site",
- "layout": "main",
- "controllerMap": [],
- "catchAllRequest": null,
- "controllerNamespace": null,
- "name": "Yes, I Go.com",
- "charset": "UTF-8",
- "sourceLanguage": "en_us",
- "preload": [
- "log",
- "transport",
- "transport"
- ],
- "behaviors": []
- },
- "handled": true,
- "params": null
- }
- ]
- },
- "3": {
- "file": "\/home\/tnet\/unstable\/vendor\/yiisoft\/yii\/framework\/base\/CApplication.php",
- "line": 727,
- "function": "onException",
- "class": "CApplication",
- "object": {
- "appStyle": 2,
- "defaultController": "site",
- "layout": "main",
- "controllerMap": [],
- "catchAllRequest": null,
- "controllerNamespace": null,
- "name": "Yes, I Go.com",
- "charset": "UTF-8",
- "sourceLanguage": "en_us",
- "preload": [
- "log",
- "transport",
- "transport"
- ],
- "behaviors": []
- },
- "type": "->",
- "args": [
- {
- "exception": {},
- "sender": {
- "appStyle": 2,
- "defaultController": "site",
- "layout": "main",
- "controllerMap": [],
- "catchAllRequest": null,
- "controllerNamespace": null,
- "name": "Yes, I Go.com",
- "charset": "UTF-8",
- "sourceLanguage": "en_us",
- "preload": [
- "log",
- "transport",
- "transport"
- ],
- "behaviors": []
- },
- "handled": true,
- "params": null
- }
- ]
- },
- "4": {
- "function": "handleException",
- "class": "CApplication",
- "object": {
- "appStyle": 2,
- "defaultController": "site",
- "layout": "main",
- "controllerMap": [],
- "catchAllRequest": null,
- "controllerNamespace": null,
- "name": "Yes, I Go.com",
- "charset": "UTF-8",
- "sourceLanguage": "en_us",
- "preload": [
- "log",
- "transport",
- "transport"
- ],
- "behaviors": []
- },
- "type": "->",
- "args": [
- {}
- ]
- }
- }
- },
- "controller": "api\\controllers\\ApiHostController",
- "action": "route",
- "status": "error"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement