Error: Failed to retrieve comment, please try again later / refresh page
Hi,
I've set up my uCommentator page settings api_key, api_secret and other from the Disqus profile, however I get an error when I try to view them on the uCommentator panel.
Error: Failed to retrieve comment, please try again later / refresh page
tried to install uCommentator and run into the same error, is there any fix for that or do I need to set anything in the disqus options of my application?
I won't get a error in the log file but when I open the backoffice extension "comments" and click on any menu item I get the following displayed:
My first intention was to check the code you updated on github, but it's already fixed/changed in my version of uCommentator.
Disqus works so far, when I log into the Disqus office I can approve comments and close discussion etc. only the umbraco backoffice extension doesn't work properly.
"NetworkError: 400 BAD REQUEST - https://disqus.com/api/3.0/posts/list.json?access_token=(here is my acces token) api_secret=~~~~&category=Business&category=1440588776071&related=thread&include=unapproved&include=approved&include=spam&include=deleted&include=flagged&include=highlighted&limit=5&query=&order=desc"
{"code":2,"response":"Invalid argument, 'category': Category must be an integer, was 'Business'"}
Than remebered that I saw a "ID" for categories somewhere in the disqus interface and changed the setting for "Category" from "Business" to my ID and still get the error. When I call that error url the following text appears:
{"cursor":{"prev":null,"hasNext":true,"next":"1440425740078514:0:0","hasPrev":false,"total":null,"id":"1440425740078514:0:0","more":true},"code":0,"response":[{"dislikes":0,"numReports":0,"likes":0,"message":"<p>test</p>","id":"2211637511","isDeleted":true,"author":{"username":"blau34","isFollowing":false,"name":"blau34","disable3rdPartyTrackers":false,"url":"","isAnonymous":false,"rep":1.2565629999999999,"about":"","isFollowedBy":false,"profileUrl":"https://disqus.com/by/blau34/","reputation":1.2565629999999999,"location":"","isPrivate":false,"isPrimary":true,"joinedAt":"2013-04-24T17:17:52","id":"49045630","avatar":{"small":{"permalink":"https://disqus.com/api/users/avatars/blau34.jpg","cache":"//a.disquscdn.com/uploads/users/4904/5630/avatar32.jpg?1394902702"},"isCustom":true,"permalink":"https://disqus.com/api/users/avatars/blau34.jpg","cache":"//a.disquscdn.com/uploads/users/4904/5630/avatar92.jpg?1394902702","large":{"permalink":"https://disqus.com/api/users/avatars/blau34.jpg","cache":"//a.disquscdn.com/uploads/users/4904/5630/avatar92.jpg?1394902702"}}},"media":[],"userScore":0,"isSpam":false,"isDeletedByAuthor":false,"createdAt":"2015-08-24T14:32:53","parent":null,"isApproved":false,"isFlagged":false,"raw_message":"test","isHighlighted":false,"thread":{"feed":"https://lundp.disqus.com/kundenservice_von_onlinedruckereien_aus_erfahrung_nicht_so_gut/latest.rss","author":"171276753","dislikes":0,"likes":0,"message":"","id":"4062179025","createdAt":"2015-08-24T14:10:45","category":"3924998","clean_title":"Kundenservice von Onlinedruckereien: Aus Erfahrung nicht so gut","userScore":0,"isSpam":false,"signedLink":"http://disq.us/?url=http%3A%2F%2Fwww.lundp.de%2Fblog%2Fposts%2F2015%2Faugust%2Fkundenservice-von-onlinedruckereien-aus-erfahrung-leider-nicht-so-gut%2F&key=3NY5yWqBLfjsUHSVTr_q0g","isDeleted":false,"raw_message":"","isClosed":false,"link":"http://www.lundp.de/blog/posts/2015/august/kundenservice-von-onlinedruckereien-aus-erfahrung-leider-nicht-so-gut/","slug":"kundenservice_von_onlinedruckereien_aus_erfahrung_nicht_so_gut","forum":"lundp","identifiers":["2546"],"posts":0,"userSubscription":false,"title":"Kundenservice von Onlinedruckereien: Aus Erfahrung nicht so gut","highlightedPost":null},"forum":"lundp","url":"http://www.lundp.de/blog/posts/2015/august/kundenservice-von-onlinedruckereien-aus-erfahrung-leider-nicht-so-gut/#comment-2211637511","points":0,"isEdited":false},{"dislikes":0,"numReports":0,"likes":0,"message":"<p>test</p>","id":"2211622329","isDeleted":true,"author":{"username":"blau34","isFollowing":false,"name":"blau34","disable3rdPartyTrackers":false,"url":"","isAnonymous":false,"rep":1.2565629999999999,"about":"","isFollowedBy":false,"profileUrl":"https://disqus.com/by/blau34/","reputation":1.2565629999999999,"location":"","isPrivate":false,"isPrimary":true,"joinedAt":"2013-04-24T17:17:52","id":"49045630","avatar":{"small":{"permalink":"https://disqus.com/api/users/avatars/blau34.jpg","cache":"//a.disquscdn.com/uploads/users/4904/5630/avatar32.jpg?1394902702"},"isCustom":true,"permalink":"https://disqus.com/api/users/avatars/blau34.jpg","cache":"//a.disquscdn.com/uploads/users/4904/5630/avatar92.jpg?1394902702","large":{"permalink":"https://disqus.com/api/users/avatars/blau34.jpg","cache":"//a.disquscdn.com/uploads/users/4904/5630/avatar92.jpg?1394902702"}}},"media":[],"userScore":0,"isSpam":false,"isDeletedByAuthor":false,"createdAt":"2015-08-24T14:23:42","parent":null,"isApproved":false,"isFlagged":false,"raw_message":"test","isHighlighted":false,"thread":{"feed":"https://lundp.disqus.com/umbraco_backoffice_vor_fremdzugriff_schutzen/latest.rss","author":"171276753","dislikes":0,"likes":0,"message":"","id":"4062198942","createdAt":"2015-08-24T14:17:39","category":"3924998","clean_title":"Umbraco Backoffice vor Fremdzugriff sch\u00fctzen","userScore":0,"isSpam":false,"signedLink":"http://disq.us/?url=http%3A%2F%2Fwww.lundp.de%2Fblog%2Fposts%2F2015%2Fjuli%2Fumbraco-backoffice-zugang-verweigern%2F&key=MTeZRtOkcyKhqdmWZPxkIQ","isDeleted":false,"raw_message":"","isClosed":false,"link":"http://www.lundp.de/blog/posts/2015/juli/umbraco-backoffice-zugang-verweigern/","slug":"umbraco_backoffice_vor_fremdzugriff_schutzen","forum":"lundp","identifiers":["2545"],"posts":0,"userSubscription":false,"title":"Umbraco Backoffice vor Fremdzugriff sch\u00fctzen","highlightedPost":null},"forum":"lundp","url":"http://www.lundp.de/blog/posts/2015/juli/umbraco-backoffice-zugang-verweigern/#comment-2211622329","points":0,"isEdited":false},{"dislikes":0,"numReports":0,"likes":0,"message":"<p>testtest</p>","id":"2211619840","isDeleted":true,"author":{"name":"blau34","url":"","profileUrl":"","emailHash":"","avatar":{"small":{"permalink":"//a.disquscdn.com/1440101154/images/noavatar32.png","cache":"//a.disquscdn.com/1440101154/images/noavatar32.png"},"large":{"permalink":"//a.disquscdn.com/1440101154/images/noavatar92.png","cache":"//a.disquscdn.com/1440101154/images/noavatar92.png"},"permalink":"//a.disquscdn.com/1440101154/images/noavatar92.png","cache":"//a.disquscdn.com/1440101154/images/noavatar92.png"},"isAnonymous":true},"media":[],"userScore":0,"isSpam":false,"isDeletedByAuthor":false,"createdAt":"2015-08-24T14:22:12","parent":null,"isApproved":false,"isFlagged":false,"raw_message":"testtest","isHighlighted":false,"thread":{"feed":"https://lundp.disqus.com/umbraco_backoffice_vor_fremdzugriff_schutzen/latest.rss","author":"171276753","dislikes":0,"likes":0,"message":"","id":"4062198942","createdAt":"2015-08-24T14:17:39","category":"3924998","clean_title":"Umbraco Backoffice vor Fremdzugriff sch\u00fctzen","userScore":0,"isSpam":false,"signedLink":"http://disq.us/?url=http%3A%2F%2Fwww.lundp.de%2Fblog%2Fposts%2F2015%2Fjuli%2Fumbraco-backoffice-zugang-verweigern%2F&key=MTeZRtOkcyKhqdmWZPxkIQ","isDeleted":false,"raw_message":"","isClosed":false,"link":"http://www.lundp.de/blog/posts/2015/juli/umbraco-backoffice-zugang-verweigern/","slug":"umbraco_backoffice_vor_fremdzugriff_schutzen","forum":"lundp","identifiers":["2545"],"posts":0,"userSubscription":false,"title":"Umbraco Backoffice vor Fremdzugriff sch\u00fctzen","highlightedPost":null},"forum":"lundp","url":"http://www.lundp.de/blog/posts/2015/juli/umbraco-backoffice-zugang-verweigern/#comment-2211619840","points":0,"isEdited":false},{"dislikes":0,"numReports":0,"likes":0,"message":"<p>Test</p>","id":"2211612135","isDeleted":true,"author":{"username":"disqus_wbMtoUi77f","isFollowing":false,"name":"Christoph Kaun","disable3rdPartyTrackers":false,"url":"http://www.lundp.de","isAnonymous":false,"rep":1.2454079999999998,"about":"Trainee software development","isFollowedBy":false,"profileUrl":"https://disqus.com/by/disqus_wbMtoUi77f/","reputation":1.2454079999999998,"location":"Germany, 30823 Garbsen","isPrivate":false,"isPrimary":true,"joinedAt":"2015-01-21T10:54:59","id":"140491900","avatar":{"small":{"permalink":"https://disqus.com/api/users/avatars/disqus_wbMtoUi77f.jpg","cache":"//a.disquscdn.com/uploads/users/14049/1900/avatar32.jpg?1440589077"},"isCustom":true,"permalink":"https://disqus.com/api/users/avatars/disqus_wbMtoUi77f.jpg","cache":"//a.disquscdn.com/uploads/users/14049/1900/avatar92.jpg?1440589077","large":{"permalink":"https://disqus.com/api/users/avatars/disqus_wbMtoUi77f.jpg","cache":"//a.disquscdn.com/uploads/users/14049/1900/avatar92.jpg?1440589077"}}},"media":[],"userScore":0,"isSpam":false,"isDeletedByAuthor":false,"createdAt":"2015-08-24T14:17:23","parent":null,"isApproved":false,"isFlagged":false,"raw_message":"Test","isHighlighted":false,"thread":{"feed":"https://lundp.disqus.com/kundenservice_von_onlinedruckereien_aus_erfahrung_nicht_so_gut/latest.rss","author":"171276753","dislikes":0,"likes":0,"message":"","id":"4062179025","createdAt":"2015-08-24T14:10:45","category":"3924998","clean_title":"Kundenservice von Onlinedruckereien: Aus Erfahrung nicht so gut","userScore":0,"isSpam":false,"signedLink":"http://disq.us/?url=http%3A%2F%2Fwww.lundp.de%2Fblog%2Fposts%2F2015%2Faugust%2Fkundenservice-von-onlinedruckereien-aus-erfahrung-leider-nicht-so-gut%2F&key=3NY5yWqBLfjsUHSVTr_q0g","isDeleted":false,"raw_message":"","isClosed":false,"link":"http://www.lundp.de/blog/posts/2015/august/kundenservice-von-onlinedruckereien-aus-erfahrung-leider-nicht-so-gut/","slug":"kundenservice_von_onlinedruckereien_aus_erfahrung_nicht_so_gut","forum":"lundp","identifiers":["2546"],"posts":0,"userSubscription":false,"title":"Kundenservice von Onlinedruckereien: Aus Erfahrung nicht so gut","highlightedPost":null},"forum":"lundp","url":"http://www.lundp.de/blog/posts/2015/august/kundenservice-von-onlinedruckereien-aus-erfahrung-leider-nicht-so-gut/#comment-2211612135","points":0,"isEdited":false},{"dislikes":0,"numReports":0,"likes":0,"message":"<p>Hallo</p>","id":"2211611495","isDeleted":true,"author":{"username":"info88","isFollowing":false,"name":"info88","disable3rdPartyTrackers":false,"url":"","isAnonymous":false,"rep":1.232124,"about":"","isFollowedBy":false,"profileUrl":"https://disqus.com/by/info88/","reputation":1.232124,"location":"","isPrivate":false,"isPrimary":true,"joinedAt":"2015-08-24T13:50:26","id":"171276753","avatar":{"small":{"permalink":"https://disqus.com/api/users/avatars/info88.jpg","cache":"//a.disquscdn.com/1440101154/images/noavatar32.png"},"isCustom":false,"permalink":"https://disqus.com/api/users/avatars/info88.jpg","cache":"//a.disquscdn.com/1440101154/images/noavatar92.png","large":{"permalink":"https://disqus.com/api/users/avatars/info88.jpg","cache":"//a.disquscdn.com/1440101154/images/noavatar92.png"}}},"media":[],"userScore":0,"isSpam":false,"isDeletedByAuthor":true,"createdAt":"2015-08-24T14:16:57","parent":null,"isApproved":true,"isFlagged":false,"raw_message":"Hallo","isHighlighted":false,"thread":{"feed":"https://lundp.disqus.com/kundenservice_von_onlinedruckereien_aus_erfahrung_nicht_so_gut/latest.rss","author":"171276753","dislikes":0,"likes":0,"message":"","id":"4062179025","createdAt":"2015-08-24T14:10:45","category":"3924998","clean_title":"Kundenservice von Onlinedruckereien: Aus Erfahrung nicht so gut","userScore":0,"isSpam":false,"signedLink":"http://disq.us/?url=http%3A%2F%2Fwww.lundp.de%2Fblog%2Fposts%2F2015%2Faugust%2Fkundenservice-von-onlinedruckereien-aus-erfahrung-leider-nicht-so-gut%2F&key=3NY5yWqBLfjsUHSVTr_q0g","isDeleted":false,"raw_message":"","isClosed":false,"link":"http://www.lundp.de/blog/posts/2015/august/kundenservice-von-onlinedruckereien-aus-erfahrung-leider-nicht-so-gut/","slug":"kundenservice_von_onlinedruckereien_aus_erfahrung_nicht_so_gut","forum":"lundp","identifiers":["2546"],"posts":0,"userSubscription":false,"title":"Kundenservice von Onlinedruckereien: Aus Erfahrung nicht so gut","highlightedPost":null},"forum":"lundp","url":"http://www.lundp.de/blog/posts/2015/august/kundenservice-von-onlinedruckereien-aus-erfahrung-leider-nicht-so-gut/#comment-2211611495","points":0,"isEdited":false}]}
This seems to be all data from the comments that where posted, but they won't get displayed in the backoffice
make sure your api key, api secret and access token is correct. Because I have try your url that you post before and change the api key, api secret and access token to my account and it working. And check again the url you post in browser or postman to see the reason you getting error
All settings should be right, and I still get the same error in my console that I posted yesterday.
If i copy the URL from the console it seems to display me all comments ever done to my disqus page but they won't show in umbracos backend
After 2 long hours ... i found that the category has to be a number ... i found in chrome console that the category generated by the plugin was "1466540997755" ... i really dont know why ... but it works ...just put in uCommentatorSettings "Category -----> 1466540997755" or some id that your plugin call generates
Error: Failed to retrieve comment, please try again later / refresh page
Hi,
I've set up my uCommentator page settings api_key, api_secret and other from the Disqus profile, however I get an error when I try to view them on the uCommentator panel.
Error: Failed to retrieve comment, please try again later / refresh page
Anyone else has the same problem?
Hi Konjius,
Can you elaborate what version of umbraco do you use, and error warning in your browser console?
Thanks,
Delly
Hi,
Version is Umbraco 7.2.2 and the error message is:
Error: Failed to retrieve comment, please try again later
Thanks.
Hi Konijus,
Have you allow your development domain to use disqus api in your disqus api settings?
Can you provide me the error from browser console?
I have try this package in my Umbraco 7.2.2 and it's work fine.
Thanks
Delly
Failed to load resource: the server responded with a status of 404 (Not Found) https://disqus.com/api/3.0/posts/list.json?access_token=3860ae036b714980b72…ude=deleted&include=flagged&include=highlighted&limit=10&query=&order=desc
Failed to load resource: the server responded with a status of 400 (BAD REQUEST) %7B%7Bcomment.author.avatar.permalink%7D%7D:1
GET http://www.pauliusputna.lt/umbraco/%7B%7Bcomment.author.avatar.permalink%7D%7D 404 (Not Found) angular.min.js:106
GET https://disqus.com/api/3.0/posts/list.json?access_token=3860ae036b714980b72…ude=deleted&include=flagged&include=highlighted&limit=10&query=&order=desc 400 (BAD REQUEST)
The API usage is showing traffic.
Umbraco doesn't show an error, however, I'm still getting the error in the console and can't see any comments in the dashboard.
(7) http://www.pauliusputna.lt/umbraco/%7B%7Bcomment.author.avatar.permalink%7D%7D Failed to load resource: the server responded with a status of 404 (Not Found)
Hi Konijus,
You can try to redownload the package and try to install it again, I have add some update to the package.
Hope it can solve your problem now.
Thanks,
Delly
Ok thank you. I'll do that tomorrow.
Will update the topic.
Hi,
Still getting the same issue.. tried removing package, installing it again and set web.config debug mode to false.
GET http://www.pauliusputna.lt/umbraco/%7B%7Bcomment.author.avatar.permalink%7D%7D 404 (Not Found)
Hi Konijus,
Already fix that issue, you can download it from here.
Thanks,
Delly
Hi,
I've updated the fix and the console doesn't show any errors, but my screen is still shows nothing.
If I go to Disqus API details is shows:
And this number goes up every time I click around.
Any ideas what could this relate to?
Thanks
Hi Konijus,
Have you tried to open it in other browser or try to clean your browser cache?
Or maybe you can try to create new application in disqus to use with this package.
Thanks,
Delly
Hey,
tried to install uCommentator and run into the same error, is there any fix for that or do I need to set anything in the disqus options of my application?
Hi Chris,
What error do you get? Can you capture the error warning here?
Thanks
Hey Delly,
I won't get a error in the log file but when I open the backoffice extension "comments" and click on any menu item I get the following displayed:
My first intention was to check the code you updated on github, but it's already fixed/changed in my version of uCommentator.
Disqus works so far, when I log into the Disqus office I can approve comments and close discussion etc. only the umbraco backoffice extension doesn't work properly.
Chris
Is there any error in the browser console log?
I think there's a wrong configuration of disqus that you add to ucommentator settings, please make sure you have insert all information correctly.
Thanks
Hey,
I get a 500 Bad Request error displayed:
(removed my tokens)
Can you try to call the url you give to me on your browser or postman, and see what's the result.
Here my example url call:
Ok did that,
first I got the following message:
Than remebered that I saw a "ID" for categories somewhere in the disqus interface and changed the setting for "Category" from "Business" to my ID and still get the error. When I call that error url the following text appears:
This seems to be all data from the comments that where posted, but they won't get displayed in the backoffice
Is there still any error in browser console log?
Have you try to rebuild or restart the website or edit the web.config to restart the web?
Have you try to clear your browser cache or enable the disable browser cache when open the browser console.
Oh and one think, every you change the uCommentator settings, it need the website to be restarted to make the settings updated.
Still get the 400er Bad Request
I edited the web.config after changing the category value of the uCommentator settings, and yes: I cleared the cache of my browser.
make sure your api key, api secret and access token is correct. Because I have try your url that you post before and change the api key, api secret and access token to my account and it working. And check again the url you post in browser or postman to see the reason you getting error
here are some pictures of my settings of disqus:
All settings should be right, and I still get the same error in my console that I posted yesterday. If i copy the URL from the console it seems to display me all comments ever done to my disqus page but they won't show in umbracos backend
Have you register your domain to disqus application?
Ah, well that was my fault.
Under disqus application settings I didn't add a Domain ( Domains linked to your public key (for referral checks). )
Thanks for that Delly!
Glad you find the solution.
If you have any feedback or any bug to report, feel free to ask me again.
Thanks
After 2 long hours ... i found that the category has to be a number ... i found in chrome console that the category generated by the plugin was "1466540997755" ... i really dont know why ... but it works ...just put in uCommentatorSettings "Category -----> 1466540997755" or some id that your plugin call generates
hope this helps someone
Angelo
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.