avishaan / lightTribe

LightTribe Backend and Collaboration Doc
2 stars 0 forks source link

POST /v1/posts is forcing the "interests" to be mandatory #120

Open footnote opened 8 years ago

footnote commented 8 years ago

Seems like when merging the routes to post either a light page or a regular post the interests field are forced to be mandatory which are not available for a regular post.

We are getting this error everytime we try to post something in the timeline

{ "error": { "code": "SCHEMA_VALIDATION_FAILED", "failedValidation": true, "results": { "errors": [ { "code": "OBJECT_MISSING_REQUIRED_PROPERTY", "message": "Missing required property: interests", "path": [] } ], "warnings": [] }, "path": [ "paths", "/v1/posts", "post", "parameters", "0" ], "paramName": "post" } }