Skip to content

Instantly share code, notes, and snippets.

@evonsdesigns
Created October 30, 2018 18:34
Show Gist options
  • Save evonsdesigns/59bd44a68fb4a54cd0b44e7341a6887d to your computer and use it in GitHub Desktop.
Save evonsdesigns/59bd44a68fb4a54cd0b44e7341a6887d to your computer and use it in GitHub Desktop.
[platform-work-answers] Full Error: {"data":{"@type":"Errors","errors":[{"@type":"Error","guid":"4c936746-8d37-4671-a1f7-e82699fee07e","message":"The provided value is not within the allowed range of this value","code":"validation
_constraint_rate_is_not_valid_value_range","field":"value","invalidValue":2.333333333333333e+43,"additionalInformations":[{"@type":"AdditionalInfo","name":"minValue","value":0},{"@type":"AdditionalInfo","name":"maxValue","value":99999}]},{"@type":"Error","guid":"b
981289b-2dc3-437f-94f8-0a65dac6e7fe","message":"The provided value has too many numbers after the decimal point","code":"validation_constraint_rate_has_too_many_decimal_places","field":"value","invalidValue":"2.333333333333333E43","additionalInformations":[{"@type
":"AdditionalInfo","name":"maxDecimalPoints","value":0}]}],"otherAttributes":{}},"isBoom":true,"isServer":false,"output":{"statusCode":400,"payload":{"statusCode":400,"error":"Bad Request","message":"PUT '/workAnswers/5f1ab2a7-2e4f-4789-b6e4-5ecde612e8c1' with req
uest body '{\"id\":\"5f1ab2a7-2e4f-4789-b6e4-5ecde612e8c1\",\"uom\":\"hr\",\"value\":\"23333333333333333333333333333333333333333333\",\"links\":[{\"rel\":\"workAssignment\",\"uri\":\"/workAssignments/8325f85e-0b70-4943-9424-e63744e9ad47\"},{\"rel\":\"workQuestion\
",\"uri\":\"/workQuestions/57786e33-2843-4b5b-ad75-bf92e2f6e895\"},{\"rel\":\"job\",\"uri\":\"/jobs/a2aac7c7-a1b4-4b8b-b7ad-33105e7613e4\"}]}' failed with status code '400' and response body '{\"@type\":\"Errors\",\"errors\":[{\"@type\":\"Error\",\"guid\":\"4c9367
46-8d37-4671-a1f7-e82699fee07e\",\"message\":\"The provided value is not within the allowed range of this value\",\"code\":\"validation_constraint_rate_is_not_valid_value_range\",\"field\":\"value\",\"invalidValue\":2.333333333333333e+43,\"additionalInformations\"
:[{\"@type\":\"AdditionalInfo\",\"name\":\"minValue\",\"value\":0},{\"@type\":\"AdditionalInfo\",\"name\":\"maxValue\",\"value\":99999}]},{\"@type\":\"Error\",\"guid\":\"b981289b-2dc3-437f-94f8-0a65dac6e7fe\",\"message\":\"The provided value has too many numbers a
fter the decimal point\",\"code\":\"validation_constraint_rate_has_too_many_decimal_places\",\"field\":\"value\",\"invalidValue\":\"2.333333333333333E43\",\"additionalInformations\":[{\"@type\":\"AdditionalInfo\",\"name\":\"maxDecimalPoints\",\"value\":0}]}],\"oth
erAttributes\":{}}'."},"headers":{}}} request_id=6c4baf6c-8212-4c69-83a3-aef9584086f5
2018-10-30T18:33:38.533Z - error: Axiom Error: [{"@type":"Error","guid":"4c936746-8d37-467
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment