Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "status": false,
- "error": "An error occurred. Check response body for details.",
- "error_obj": {
- "created_at": "2016-10-27T12:52:25+00:00",
- "error_type": "runtime",
- "system": {
- "domain": "cla",
- "role": "api",
- "environment": "local"
- },
- "message": "Array to string conversion",
- "details": {
- "post_body": {
- "branch_id": "80",
- "borrower_id": "603",
- "loan_administrator_id": "67",
- "loan_type": "credit_line",
- "current_status": 10,
- "flags": 0,
- "is_flagged": false,
- "created_at": "2016-10-27 12:52:25",
- "created_by": "989",
- "updated_by": "989"
- },
- "request_uri": "/v1.1/loan/drafts/3263/finalize",
- "user": {
- "user_id": "989",
- "default_role": "bankAdministrator",
- "roles": {
- "bankAdministrator": {
- "key": "bank_administrator_id",
- "id": "37",
- "groups": {
- "banks": [
- "48"
- ]
- }
- }
- }
- }
- },
- "payload": {
- "severity": "Notice",
- "filepath": "/var/www/api/public/application/libraries/BuiltValidator.php",
- "line": 57
- },
- "trace": [
- {
- "file": "/var/www/api/public/application/libraries/BuiltValidator.php",
- "line": 57,
- "function": "implode"
- },
- {
- "file": "/var/www/api/public/application/libraries/BuiltValidator.php",
- "line": 77,
- "function": "getSystemErrors",
- "class": "Built\\Api\\Libraries\\BuiltValidator"
- },
- {
- "file": "/var/www/api/public/application/libraries/LoanValidator.php",
- "line": 284,
- "function": "hasErrors",
- "class": "Built\\Api\\Libraries\\BuiltValidator"
- },
- {
- "file": "/var/www/api/public/application/models/Loans/Loan.php",
- "line": 1245,
- "function": "activateLoan",
- "class": "LoanValidator"
- },
- {
- "file": "/var/www/api/public/application/controllers/v1.1/loan/Drafts.php",
- "line": 116,
- "function": "edit",
- "class": "Built\\Api\\Models\\Loans\\Loan"
- },
- {
- "function": "putFinalize",
- "class": "Built\\Api\\Controllers\\v1_1\\Loan\\Drafts"
- },
- {
- "file": "/var/www/api/public/application/controllers/BuiltController.php",
- "line": 1162,
- "function": "call_user_func_array"
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement