“This session is not valid for use with the REST API” while making query

DESCRIPTION

This error you must be getting while making query developer console OR query using api. It’s because of fact that you don’t have permission to access org using API.

SOLUTION

If Issue is taking place in developer console

Quick way to fix it to give permission “Use any API client” using profile or permission set.

NOTE: If you do not find “Use any API client” then try to enable the permission “API Enabled”.

If you are using connected App

This is happening because of connected app is not configured correctly.

On ‘API (Enable OAuth Settings)‘ panel, move ‘Access and manage your data (api)‘ option from left to right of Selected OAuth Scopes field and then save the setting.

TIP: Wait for few minute and then try. It should work.

712 thoughts on ““This session is not valid for use with the REST API” while making query”

  1. Hi there! This is my 1st comment here so I just wanted to give
    a quick shout out and tell you I truly enjoy reading your articles.
    Can you suggest any other blogs/websites/forums that go over the same subjects?

    Thank you!

  2. I am sure this article has touched all the internet viewers,
    its really really fastidious piece of writing on building up
    new webpage.

  3. I’m impressed, I must say. Rarely do I come across a blog that’s both equally educative and engaging,
    and let me tell you, you have hit the nail on the head. The issue is something not enough people are speaking intelligently about.
    I’m very happy that I came across this during my hunt for something relating to this.

    my blog post: scr 918kiss 2

  4. I absolutely love your website.. Excellent colors & theme.
    Did you build this site yourself? Please reply back as I’m planning
    to create my own website and would like to learn where you got this from or what the theme is named.
    Cheers!

    my web blog; Login Joker388

  5. It’s hard to come by knowledgeable people about this topic, however, you seem like you know what you’re
    talking about! Thanks

  6. Excellent goods from you, man. I have understand your stuff previous to and you are simply extremely fantastic.
    I really like what you’ve bought here, certainly like what you
    are saying and the best way by which you assert it.
    You make it entertaining and you still take care of to stay it sensible.
    I cant wait to learn far more from you. This is actually a wonderful website.

    My web-site – game love138 online

  7. I really love your website.. Pleasant colors & theme.
    Did you make this site yourself? Please reply back as I’m
    planning to create my own personal site and would
    like to learn where you got this from or just what the theme is named.

    Cheers!

    Also visit my web site 918kiss plus android download (918kiss-m.com)

  8. Hi to every body, it’s my first pay a quick visit of this web
    site; this web site consists of amazing and really good material in support of visitors.

  9. I really love your website.. Very nice colors & theme.

    Did you develop this site yourself? Please reply back as I’m looking to create my very
    own blog and would like to know where you got this from or just what the theme
    is named. Cheers!

    Also visit my web page: 918kaya

  10. These are genuinely fantastic ideas in regarding blogging.
    You have touched some good things here. Any way keep up wrinting.

  11. I’m extremely inspired along with your writing abilities and also with
    the format on your blog. Is this a paid subject
    matter or did you modify it yourself? Anyway keep up the excellent high quality
    writing, it’s uncommon to peer a great blog like this one
    today..

  12. When I initially left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I receive 4 emails with the exact
    same comment. Perhaps there is a means you are able to remove me from that service?
    Cheers!

  13. Hmm it appears like your website ate my first comment (it was
    extremely long) so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog.
    I too am an aspiring blog blogger but I’m still new to the whole thing.
    Do you have any recommendations for newbie blog writers?
    I’d definitely appreciate it.

  14. Do you have a spam problem on this site; I also am a blogger, and I was wanting to know your situation; we have developed
    some nice methods and we are looking to swap techniques with other
    folks, be sure to shoot me an email if interested.

    my page – epicwin agent

  15. I blog frequently and I seriously thank you for your content.
    This article has really peaked my interest.
    I’m going to take a note of your site and keep checking for new details about once a
    week. I subscribed to your Feed too.

  16. I got this web page from my buddy who told me regarding
    this web site and now this time I am visiting this web page
    and reading very informative articles at this place.

  17. Wonderful blog! I found it while browsing on Yahoo News.
    Do you have any suggestions on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Cheers

    My blog pussy888

Comments are closed.