Currently if I call the social backend with twice the same message, it gives a 500 error code.
In the log there is:
2017-12-07 14:22:18,238 ERROR [io.undertow.request] (default task-2) UT005023: Exception handling request to /api/v1/domains/waziup/socials/: org.jboss.resteasy.spi.UnhandledException: c
om.restfb.exception.FacebookOAuthException: Received Facebook error response of type OAuthException: Duplicate status message (code 506, subcode 1455006)
It make sense to forbid sending twice the same message.
But the error code should be 409 in this case (with a "duplicate message" body).
Currently if I call the social backend with twice the same message, it gives a 500 error code. In the log there is:
It make sense to forbid sending twice the same message. But the error code should be 409 in this case (with a "duplicate message" body).