Skip to content

Instantly share code, notes, and snippets.

View mjhlobdell's full-sized avatar

Michael Lobdell mjhlobdell

View GitHub Profile
@mjhlobdell
mjhlobdell / fields_500_erroor_for_get_fieldjobs.json
Created October 5, 2015 22:27
500 error for Fields (GET fields/:id/fieldJobs)
{
"error": "The server encountered an error! We have no idea what went wrong.",
"debug": {
"message": "The requested feature is not implemented.",
"stackTrace": "at Botlink.Core.Data.Static.StaticFieldJobDbService.GetFieldJobsByFieldId (long) <0x00025>\nat Botlink.Api.Modules.Helpers.RelationshipExtensions.GetRelationship<Botlink.Core.Models.Identity.Field, Botlink.Core.Models.Identity.FieldJob> (Botlink.Core.Data.IModelDb`1<Botlink.Core.Models.Identity.Field>,long,System.Func`2<long, System.Collections.Generic.IList`1<Botlink.Core.Models.Identity.FieldJob>>) <0x0002e>\nat Botlink.Api.Modules.Helpers.RelationshipExtensions.GetRelationship<Botlink.Core.Data.IFieldDb, Botlink.Core.Models.Identity.Field, Botlink.Core.Models.Identity.FieldJob> (Botlink.Api.Modules.Helpers.CrudModule`2<Botlink.Core.Models.Identity.Field, Botlink.Core.Data.IFieldDb>,long,System.Func`2<long, System.Collections.Generic.IList`1<Botlink.Core.Models.Identity.FieldJob>>) <0x00059>\nat Botlink.Api.Modules.FieldModule/<FieldMod
@mjhlobdell
mjhlobdell / billings_500_error_for_post.json
Created October 5, 2015 20:38
500 error for Billings POST
{
"error": "The server encountered an error! We have no idea what went wrong.",
"debug": {
"message": "Error converting value \"sdf\" to type 'System.Int64'. Path 'companyId', line 2, position 23.",
"stackTrace": " at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in <filename unknown>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0 \n at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Set
@mjhlobdell
mjhlobdell / botboxes_500_errors_for_put.json
Last active October 5, 2015 22:06
500 error for Botbox PUT
{
"error": "The server encountered an error! We have no idea what went wrong.",
"debug": {
"message": "Nullable object must have a value.",
"stackTrace": "at System.Nullable`1<long>.get_Value () <0x00056>\nat (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,Botlink.Core.Models.Identity.BotBox) <0x00055>\nat FluentValidation.Internal.Extensions/<>c__DisplayClass1`2<Botlink.Core.Models.Identity.BotBox, long>.<CoerceToNonGeneric>b__0 (object) <0x00048>\nat FluentValidation.Validators.PropertyValidatorContext.get_PropertyValue () <0x0003e>\nat FluentValidation.Validators.PropertyValidator.Validate (FluentValidation.Validators.PropertyValidatorContext) <0x00074>\nat FluentValidation.Internal.PropertyRule.InvokePropertyValidator (FluentValidation.ValidationContext,FluentValidation.Validators.IPropertyValidator,string) <0x00068>\nat FluentValidation.Internal.PropertyRule/<Validate>d__10.MoveNext () <0x003f9>\nat System.Linq.Enumerable/<CreateSelectManyIterator>c__Ite
@mjhlobdell
mjhlobdell / botboxes_500_errors_for_post.json
Last active October 14, 2015 14:37
500 error for Botbox POST
{
"error": "The server encountered an error! We have no idea what went wrong.",
"debug": {
"message": "Nullable object must have a value.",
"stackTrace": "at System.Nullable`1<long>.get_Value () <0x00056>\nat (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,Botlink.Core.Models.Identity.BotBox) <0x00055>\nat FluentValidation.Internal.Extensions/<>c__DisplayClass1`2<Botlink.Core.Models.Identity.BotBox, long>.<CoerceToNonGeneric>b__0 (object) <0x00048>\nat FluentValidation.Validators.PropertyValidatorContext.get_PropertyValue () <0x0003e>\nat FluentValidation.Validators.PropertyValidator.Validate (FluentValidation.Validators.PropertyValidatorContext) <0x00074>\nat FluentValidation.Internal.PropertyRule.InvokePropertyValidator (FluentValidation.ValidationContext,FluentValidation.Validators.IPropertyValidator,string) <0x00068>\nat FluentValidation.Internal.PropertyRule/<Validate>d__10.MoveNext () <0x003f9>\nat System.Linq.Enumerable/<CreateSelectManyIterator>c__Ite