Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gggwt/232bcd6fc20c595a5de2226ccd7a90bd to your computer and use it in GitHub Desktop.
Save gggwt/232bcd6fc20c595a5de2226ccd7a90bd to your computer and use it in GitHub Desktop.
GET /api/photos/7452/comments HTTP/1.1
Host: ami-server-staging.herokuapp.com
Connection: keep-alive
Accept: */*
User-Agent: AMI Beta/1.0.0 (com.iLabs.AMI-beta; build:20180826200046; iOS 11.2.5) Alamofire/4.7.2
Accept-Language: zh-Hans-US;q=1.0, en-US;q=0.9
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ODMsImlhdCI6MTUzNTM1MDc0N30.cfsrBDbNVHRSG2HSdJI14uG8xY2DiFG3Lq8M2MrfqIM
Accept-Encoding: gzip;q=1.0, compress;q=0.5
HTTP/1.1 500 Internal Server Error
Server: Cowboy
Vary: Origin
Content-Type: application/json; charset=utf-8
Content-Length: 596
Date: Mon, 27 Aug 2018 06:39:18 GMT
Via: 1.1 vegur
Connection: Keep-alive
{"message":"child \"comments\" fails because [\"comments\" at position 0 fails because [\"dataValues\" is not allowed, \"_previousDataValues\" is not allowed, \"_changed\" is not allowed, \"_modelOptions\" is not allowed, \"_options\" is not allowed, \"__eagerlyLoadedAssociations\" is not allowed, \"isNewRecord\" is not allowed]]","messages":["\"dataValues\" is not allowed","\"_previousDataValues\" is not allowed","\"_changed\" is not allowed","\"_modelOptions\" is not allowed","\"_options\" is not allowed","\"__eagerlyLoadedAssociations\" is not allowed","\"isNewRecord\" is not allowed"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment