Tuesday, 28 March 2017

Salesforce: Can't refresh access token. Response: {"error":"invalid_grant","error_description":"token validity expired"}

Sometimes we may not be able to refresh the Salesforce access_token using the rest api and get below error in logs

28.03.2017 23:41:40.184 *ERROR* [0:0:0:0:0:0:0:1 [1490724696957] GET /content/training/en/salesforce/jcr:content/par/salesforcesearch.html HTTP/1.1] com.adobe.cq.mcm.salesforce.SalesforceClient Can't refresh access token. Response: {"error":"invalid_grant","error_description":"token validity expired"}

Root cause:
This issue is due to the "Refresh Token Policy" settings of the connected app is set to "Immediately expire refresh token"

Follow the below steps to resolve this issue:

  • Goto setup -> Connected apps ->Manage Policies
  • Select Refresh Token Policy as Refresh token is valid until revoked

69 comments :

  1. Great information sharing this blog post.....
    salesforce onilne forms

    ReplyDelete
    Replies
    1. Appreciated ... Their service is very good.

      Delete
    2. IEEE Final Year projects Project Center in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. <Final Year Projects for CSE It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

      JavaScript Training in Chennai

      JavaScript Training in Chennai

      The Angular Training covers a wide range of topics including Components, project projects for cseAngular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

      Delete
  2. The information shared was very much useful My sincere thanks for sharing this post Please Continue to share this post
    Salesforce Training in Chennai

    ReplyDelete
  3. Besant Technologies is a leading Pearson Vue Exam Center . we offer this course through online we have great experience in succeeding students through online courses. we can calculate our performance through their honest comments in our sites in supporting our services. we have referral program so candidates can earn money through referral. you can share your live experience with other can generate you some money. Pearson Vue Exam Center in Bangalore |
    Pearson Vue Exam Centers in Bangalore |

    ReplyDelete
  4. It's very great post...Thanks for sharing such an informative post..
    Blueprism Exam Center in Chennai | Blueprism Exam Center in Velachery

    ReplyDelete
  5. Very interesting content which helps me to get the in depth knowledge about the technology.
    RPA Training with Placement in Chennai | RPA Training institute in Velachery

    ReplyDelete
  6. Thanks for posting your Informative blog… It is very useful for me, thanks a lot for sharing such a wonderful article
    Advanced Ethical Hacking course in Chennai | Certified Ethical Hacking Training in Velachery

    ReplyDelete
  7. Nice blog has been shared by you before i read this blog i didn't have any knowledge about this but now i got some knowledge so keep on sharing such kind of an blogs.
    No.1 UIPath Training Institute in Chennai | No.1 UIPath Training Institute in Velachery

    ReplyDelete
  8. Thanks its Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us.
    Robotic Process Automation Training course in Chennai | Robotic Process Automation Training course in Velachery

    ReplyDelete
  9. This is really too useful and have more ideas from yours. keep sharing many techniques. eagerly waiting for your new blog and useful information. keep doing more.
    No.1 Blue Prism Training Institute in Chennai | No.1 Blue Prism Training Institute in Velachery

    ReplyDelete
  10. This is really too useful and have more ideas from yours. keep sharing many techniques and thanks for sharing the information.
    Robotic Process Automation Training course in Chennai | Robotic Process Automation Training course in Velachery

    ReplyDelete
  11. Impressive blog with lovely information. Really very useful article for us thanks for sharing such a wonderful blog.
    No.1 Blue Prism Training Institute in Chennai | No.1 Blue Prism Training Institute in Kanchipuram

    ReplyDelete
  12. Nice blog, really I feel happy to see this useful blog… Thanks for sharing this valuable information to our vision.I’m expecting much of these useful things. JAVA Certification Course in Chennai | JAVA Certification Course in Velachery

    ReplyDelete
  13. Its really informative blog.I found useful. Thanks for sharing

    awesome post. JAVA Training Course in Chennai | JAVA Training Course in Velachery

    ReplyDelete
  14. It was wonderful article and I was really impressed by reading this blog.keep doing share this kind of articles.
    C / C++ Training Institute in Chennai | C / C++ Training Institute in Velachery

    ReplyDelete
  15. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
    Best Graphic Designing Training Institute in Chennai | Best Graphic Designing Training Institute in Kanchipuram

    ReplyDelete
  16. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.
    Best UIPath Training Institute in Chennai | Best UIPath Training Institute in Velachery | Best UIPath Training Institute in Kanchipuram

    ReplyDelete
  17. Really i enjoyed very much. And this may helpful for lot of peoples. So you are provided such a nice and great article within this.
    RPA Training in Chennai | RPA Training in Kanchipuram

    ReplyDelete
  18. Thank you so much for sharing this worthful content with us. The concept of here will be useful for know something in future programs. JAVA / J2EE Training courses in Chennai | JAVA / J2EE Training courses in Velachery

    ReplyDelete
  19. Nice blog,good message in this.Really I feel happy to see this useful blog… Sincere thanks for sharing this valuable information to our vision..... Android Training Institute in chennai | Android Training Institute in Velachery

    ReplyDelete
  20. Excellent post. I have read your blog it's very interesting and informative. Keep sharing this kind of worthful ideas. Web Design Training in Chennai | Web Design Training in Velachery

    ReplyDelete
  21. Good Informative post. I have read your blog it's very interesting and useful. Keep sharing this kind of worthful ideas. Android Training in Chennai | Android Training in Velachery

    ReplyDelete
  22. Your Blog is really wonderful..I have read your article,its very useful to us..keep updating related posts. C / C++ Training Courses in Chennai | C / C++ Training Courses in Velachery

    ReplyDelete
  23. Thanks for posting this useful information, Good to know about new things here, Keep updating your blog...
    Vacation Courses Training in Chennai | Vacation Courses Training in Velachery

    ReplyDelete

  24. Thank you so much for posting this useful information content, Good to know about new things here, Keep share your blog...
    Vacation Classes in Chennai | Vacation Classes in Velachery

    ReplyDelete
  25. Good Blog....Thanks for sharing your informative and amazing blog with us, it’s very helpful for everyone.
    Summer courses in Chennai | Summer Courses in Madipakkam

    ReplyDelete
  26. Excellent information with unique content and it is very useful to know about the information based on blogs...
    Vacation Courses in Chennai | Vacation Courses in Pallikaranai

    ReplyDelete
  27. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
    Vacation Courses in Chennai | Vacation Courses in Meenampakkam

    ReplyDelete
  28. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
    Vacation Courses in Chennai | Vacation Courses in Meenampakkam

    ReplyDelete
  29. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
    Vacation Courses in Chennai | Vacation Courses in Meenampakkam

    ReplyDelete
  30. Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.
    Summer courses in Chennai | Summer courses in Nanganallur

    ReplyDelete
  31. These provided information was really so nice, thanks for giving that post and the more skills to develop after referring that post. Your articles really impressed for me, because of all information so nice.
    Vacation Courses in Chennai | Vacation Courses in Thiruvanmiyur

    ReplyDelete
  32. Awesome Blog with informative concept. Really I feel happy to see this useful blog.
    Selenium Course Training in Chennai | Selenium Course Training in Pallikaranai

    ReplyDelete
  33. Thanks for posting this information it was really good and useful for me. Got many innovative ideas.AWS Training in Chennai | AWS Training in Taramani

    ReplyDelete
  34. It's very great post... Really you are... done a wonderful job Keep up the good work and continue sharing like this.
    Graphic Designing Training in Chennai | Graphic Designing Training in Guindy

    ReplyDelete
  35. Very interesting content which helps me to get the in depth knowledge about the technology.
    Best Blue Prism Training Institute in Chennai | Blue prism Training in Velachery

    ReplyDelete
  36. Really i enjoyed very much. And this may helpful for lot of peoples. So you are provided such a nice and great article within this.
    BluePrism Training in Chennai | Blue prism Training in Pallikaranai

    ReplyDelete
  37. its very nice to read your blog and im really appreciate to read that.thanks to you for giving wonderfull ideas..thank you
    No.1 RPA Training institute in Chennai | No.1 RPA Training institute in Velachery

    ReplyDelete
  38. This is really a great and very useful piece of information. I’m glad that you shared this helpful information with us. Please keep us informed like this.Regards,
    Graphic Designing Training Institute in Chennai | Graphic Designing Training Institute in Velachery

    ReplyDelete
  39. Awesome post. Really you are shared very informative concept... Thank you for sharing. Keep on updating...
    UIPath Robotic Process Automation in Chennai | UIPath Robotic Process Automation in Velachery

    ReplyDelete
  40. Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.
    Blue Prism Robotic Process Automation in Chennai | Blue Prism Robotic Process Automation in Velachery

    ReplyDelete
  41. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.
    Blue Prism Robotic Process Automation in Chennai | Blue Prism Robotic Process Automation in Velachery

    ReplyDelete
  42. This is really a great and very useful piece of information. I’m glad that you shared this helpful information with us. Please keep us informed like this.Regards,
    Advanced Ethical Hacking course in Chennai | Advanced Ethical Hacking course in Velachery

    ReplyDelete
  43. This is really too useful and have more ideas from yours. keep sharing many techniques and thanks for sharing the information.
    Graphic Designing Training Institute in Chennai | Graphic Designing Training Institute in Velachery

    ReplyDelete
  44. Very interesting content which helps me to get the in depth knowledge about the technology.
    RPA Training Course in Chennai | RPA Training in Velachery

    ReplyDelete
  45. Excellent information with unique content and it is very useful to know about the information based on blogs...
    CCNP Training in Chennai | CCNP Training in OMR

    ReplyDelete
  46. Very good and informative article. Thanks for sharing such nice article, keep on updating such good articles.
    No.1 RPA Training institute in Chennai | No.1 RPA Training institute in Velachery

    ReplyDelete
  47. Excellent post. I have read your blog it's very interesting and informative. Keep sharing this kind of worthful ideas.
    CCNA Training Institute in Chennai | CCNA Training Institute in Velachery

    ReplyDelete
  48. This is really a great and very useful piece of information. I’m glad that you shared this helpful information with us. Please keep us informed like this.Regards,
    Advanced CLOUD COMPUTING Course in Chennai | Cloud Computing Training in Saidapet

    ReplyDelete
  49. Thanks for sharing these niche piece of knowledge. Here, I had a solution for my inconclusive problems & it’s really helps me a lot keep updates…
    Selenium Testing Course in Chennai | Selenium Testing Course in Madipakkam

    ReplyDelete
  50. Good Blog....Thanks for sharing your informative and amazing blog with us, it’s very helpful for everyone.
    Graphic Designing Training Institute in Chennai | Graphic Designing Training Institute in Velachery

    ReplyDelete
  51. Thanks for posting this information it was really good and useful for me. Got many innovative ideas.
    Tally Training in Chennai | Tally Training in Pallikaranai

    ReplyDelete
  52. This is really too useful and have more ideas from yours. keep sharing many techniques. eagerly waiting for your new blog and useful information. keep doing more.
    Graphic Designing Training Institute in Chennai | Graphic Designing Training Institute in Velachery

    ReplyDelete
  53. This is extremely great information And Very good work. It is very interesting to learn from to easy understood.Thanks.
    Blue prism Training in Chennai | Blue prism Training in OMR

    ReplyDelete
  54. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.
    Android Training Institute in Chennai | Android Training Institute in Chrompet

    ReplyDelete
  55. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts.
    Cyber Security Projects for Final Year

    JavaScript Training in Chennai

    Project Centers in Chennai

    JavaScript Training in Chennai

    ReplyDelete
  56. Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating...
    Graphic Designing Training Institute in Chennai | Graphic Designing Training Institute in Velachery

    ReplyDelete
  57. IEEE Cloud computing DOamin is a general term for anything that involves delivering hosted services over the Internet. cloud computing projects The cloud projects for cse is a metaphor for a global network of remote servers which operates as a single ecosystem, commonly associated with the Internet. IEEE FInal Year Networking Projects for CSE Domains Networking Projects cloud computing is the delivery of computing projects services—including servers, storage, databases, networking projects, software, analytics, and intelligence


    JavaScript Training in Chennai


    JavaScript Training in Chennai

    ReplyDelete