Skip to content

Instantly share code, notes, and snippets.

View kamaulynder's full-sized avatar
💭
Need great Female Tech Talent, talk to me!!

Linda Kamau kamaulynder

💭
Need great Female Tech Talent, talk to me!!
View GitHub Profile
angular.js:14328 Possibly unhandled rejection: {"data":{"message":"422 Unprocessable Entity","errors":{"file":["The file field is required."]},"status_code":422,"debug":{"line":22,"file":"/home/vagrant/rollcall/vendor/dingo/api/src/Http/FormRequest.php","class":"Dingo\\Api\\Exception\\ValidationHttpException","trace":["#0 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Validation/ValidatesWhenResolvedTrait.php(24): Dingo\\Api\\Http\\FormRequest->failedValidation(Object(Illuminate\\Validation\\Validator))","#1 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Foundation/Providers/FoundationServiceProvider.php(41): Illuminate\\Foundation\\Http\\FormRequest->validate()","#2 /home/vagrant/rollcall/vendor/laravel/framework/src/Illuminate/Container/Container.php(1046): Illuminate\\Foundation\\Providers\\FoundationServiceProvider->Illuminate\\Foundation\\Providers\\{closure}(Object(RollCall\\Http\\Requests\\FileUpload\\CreateFileUploadRequest), Object(Illuminate\\Foundation\\Application))
PhantomJS 2.1.1 (Mac OS X 0.0.0) menu Controller "before each" hook for "should load upload a file" FAILED
[$injector:unpr] Unknown provider: contactsImportEndpointProvider <- contactsImportEndpoint
http://errors.angularjs.org/1.6.1/$injector/unpr?p0=contactsImportEndpointProvider%20%3C-%20contactsImportEndpoint
webpack:///~/angular/angular.js:4630:64 <- spec.bundle.js:4736:87
getService@webpack:///~/angular/angular.js:4783:0 <- spec.bundle.js:4889:40
webpack:///~/angular/angular.js:4635:0 <- spec.bundle.js:4741:49
getService@webpack:///~/angular/angular.js:4783:0 <- spec.bundle.js:4889:40
injectionArgs@webpack:///~/angular/angular.js:4808:0 <- spec.bundle.js:4914:69
instantiate@webpack:///~/angular/angular.js:4854:0 <- spec.bundle.js:4960:32
$controller@webpack:///~/angular/angular.js:10710:0 <- spec.bundle.js:10816:40
class menuController {
constructor(Upload, $state, contactsImportEndpoint) {
"ngInject";
this.name = 'menu';
this.Upload = Upload;
this.contactsImportEndpoint = contactsImportEndpoint;
}
$onInit() {
}
Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module app.raven due to:
Error: [$injector:modulerr] Failed to instantiate module ngRaven due to:
Error: [$injector:nomod] Module 'ngRaven' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.6.1/$injector/nomod?p0=ngRaven
at http://localhost:3000/vendor.bundle.js?cc9d62ab4d0f3050940f:10180:13
at http://localhost:3000/vendor.bundle.js?cc9d62ab4d0f3050940f:12295:18
at ensure (http://localhost:3000/vendor.bundle.js?cc9d62ab4d0f3050940f:12219:39)
at module (http://localhost:3000/vendor.bundle.js?cc9d62ab4d0f3050940f:12293:15)
at http://localhost:3000/vendor.bundle.js?cc9d62ab4d0f3050940f:14848:23
[2017-03-07 11:25:09] staging.INFO: No plain text found for 116dff7c-2c71-50de-8237-ae44b682e145 {"original_content":"Return-Path: <0100015aa884774b-727430a7-ae58-4bfa-906d-9be41870c35a-000000@mail.staging.rollcall.io>\r\nReceived: from a8-39.smtp-out.amazonses.com (a8-39.smtp-out.amazonses.com [54.240.8.39])\r\n by inbound-smtp.us-east-1.amazonaws.com with SMTP id oq1kpesjmkvm9epde65r1lkhca1ubgkdsvr68mg1\r\n for root@staging.rollcall.io;\r\n Tue, 07 Mar 2017 11:25:38 +0000 (UTC)\r\nReceived-SPF: pass (spfCheck: domain of mail.staging.rollcall.io designates 54.240.8.39 as permitted sender) client-ip=54.240.8.39; envelope-from=0100015aa884774b-727430a7-ae58-4bfa-906d-9be41870c35a-000000@mail.staging.rollcall.io; helo=a8-39.smtp-out.amazonses.com;\r\nAuthentication-Results: amazonses.com;\r\n spf=pass (spfCheck: domain of mail.staging.rollcall.io designates 54.240.8.39 as permitted sender) client-ip=54.240.8.39; envelope-from=0100015aa884774b-727430a7-ae58-4bfa-906d-9be41870c35a-000000@mail.staging.rollcall.io;
[2017-03-02 20:06:02] production.ERROR: exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: `GET https://api.africastalking.com/version1/messaging?username=ushahidi&lastReceivedId=4294967295` resulted in a `400 Bad Request` response:
The query parameter 'lastReceivedId' was malformed:
'4294967295' is not a valid 32-bit signed integer value
' in /var/www/rollcall/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:111
Stack trace:
#0 /var/www/rollcall/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 /var/www/rollcall/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 /var/www/rollcall/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)
#3 /var/www/rollcall/vendor/guzzlehttp/promises/src/TaskQueue.php(47): G
{"message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'phone-0723674180' for key 'contacts_type_contact_unique' (SQL: insert into `contacts` (`type`, `preferred`, `contact`, `user_id`, `unsubscribe_token`, `subscribed`, `updated_at`, `created_at`) values (phone, 1, 0723674180, 67, $2y$10$Z10CejFnqlV3w2db\/ijOdu3TocX72089yDhGtcI8YcLBZwUwkimGK, 1, 2017-03-01 08:39:23, 2017-03-01 08:39:23))","code":"23000","status_code":500,"debug":{"line":770,"file":"\/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php","class":"Illuminate\\Database\\QueryException","trace":["#0 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(726): Illuminate\\Database\\Connection->runQueryCallback('insert into `co...', Array, Object(Closure))","#1 \/var\/www\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Connection.php(481): Illuminate\\Database\\Connection->run('insert into `co...', Array, Object(Closure))","#2 \/v
{
"message": "Error executing \"SendRawEmail\" on \"https://email.us-east-1.amazonaws.com\"; AWS HTTP error: Client error: `POST https://email.us-east-1.amazonaws.com` resulted in a `400 Bad Request` response:\n<ErrorResponse xmlns=\"http://ses.amazonaws.com/doc/2010-12-01/\">\n <Error>\n <Type>Sender</Type>\n <Code>MessageReje (truncated...)\n MessageRejected (client): Email address is not verified. The following identities failed the check in region US-EAST-1: rollcall@ushahidi.rollcall.io - <ErrorResponse xmlns=\"http://ses.amazonaws.com/doc/2010-12-01/\">\n <Error>\n <Type>Sender</Type>\n <Code>MessageRejected</Code>\n <Message>Email address is not verified. The following identities failed the check in region US-EAST-1: rollcall@ushahidi.rollcall.io</Message>\n </Error>\n <RequestId>c309b06f-d81a-11e6-ae21-c7c92887f6b9</RequestId>\n</ErrorResponse>\n",
"status_code": 500,
"debug": {
"line": 192,
"file": "/var/www/rollcall/vendor/aws/aws-sdk-php/src/WrappedHtt
{"message":"Undefined index: contact","status_code":500,"debug":{"line":11,"file":"\/home\/vagrant\/rollcall\/app\/Http\/Requests\/Organization\/AddContactRequest.php","class":"ErrorException","trace":["#0 \/home\/vagrant\/rollcall\/app\/Http\/Requests\/Organization\/AddContactRequest.php(11): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'Undefined index...', '\/home\/vagrant\/r...', 11, Array)","#1 [internal function]: RollCall\\Http\\Requests\\Organization\\AddContactRequest->rules()","#2 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Container\/Container.php(507): call_user_func_array(Array, Array)","#3 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/Http\/FormRequest.php(83): Illuminate\\Container\\Container->call(Array)","#4 \/home\/vagrant\/rollcall\/vendor\/laravel\/framework\/src\/Illuminate\/Validation\/ValidatesWhenResolvedTrait.php(20): Illuminate\\Foundation\\Http\\FormRequest->getValidatorInstance()","#5 \/home\/v
done() {
this.peopleEndpoint.addMember(
{orgId: this.user.organizations[0].id},
{name: this.member,
email: this.email,
phone: this.phone,
description: this.member_description}
).$promise
.then((response) => {
this.new_member = response.user;