IanM Thanks for this π
Here is what I get after following those steps:
In the Pop-up Modal
422 No Reason Phrase
POST https://******.ca/api/discussions/333
Selected post does not exist in this discussion. Debug: Request Post ID - {3696}, Post ID - {3696}, Post Discussion ID - {333}, Discussion ID - {333}
In the Console Logs
POST https://******.ca/api/discussions/333 422 Application.js:406:20
Selected post does not exist in this discussion. Debug: Request Post ID - {3696}, Post ID - {3696}, Post Discussion ID - {333}, Discussion ID - {333} Application.js:408:12
request Application.js:408
(Async: promise callback)
request Application.js:352
save Model.js:159
a addBestAnswerAction.js:26
onclick addBestAnswerAction.js:66
handleEvent render.js:888
Cookie βPHPSESSIDβ will be soon treated as cross-site cookie against βhttps://********.ca/api/discussions/333β because the scheme does not match. 333
Uncaught (in promise)
Object { status: 422, options: {β¦}, xhr: XMLHttpRequest, responseText: "{\"errors\":[{\"status\":\"422\",\"code\":\"validation_error\",\"detail\":\"Selected post does not exist in this discussion. Debug: Request Post ID - {3696}, Post ID - {3696}, Post Discussion ID - {333}, Discussion ID - {333}\",\"source\":{\"pointer\":\"\\/data\\/attributes\\/error\"}}]}", response: {β¦}, alert: {β¦} }