“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. I think what you typed made a ton of sense. But, think on this, what if you wrote
    a catchier post title? I ain’t saying your content is not solid., but suppose
    you added a title that grabbed people’s attention? I mean “This session is
    not valid for use with the REST API”
    while making query from Developer Console – SFDCians
    is kinda plain. You should peek at Yahoo’s front page and see how they create news headlines to get people to open the links.
    You might try adding a video or a related pic or two to grab
    readers excited about what you’ve got to say.
    Just my opinion, it might make your posts a little bit more interesting.
    0mniartist asmr

  2. Good day! Do you use Twitter? I’d like to follow you if
    that would be ok. I’m absolutely enjoying your blog and look forward to new posts.
    0mniartist asmr

  3. Hmm is anyone else experiencing problems with the images on this blog loading?
    I’m trying to find out if its a problem on my end or if it’s
    the blog. Any feedback would be greatly appreciated. 0mniartist asmr

  4. Howdy would you mind stating which blog platform you’re using?
    I’m going to start my own blog in the near future
    but I’m having a tough time choosing between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique.
    P.S Apologies for being off-topic but I had to ask!

    Check out my web blog :: gem aaa1188

  5. Hey there! I know this is kinda off topic nevertheless
    I’d figured I’d ask. Would you be interested in exchanging links or maybe guest writing a blog article
    or vice-versa? My website discusses a lot
    of the same subjects as yours and I believe we could greatly benefit
    from each other. If you might be interested feel free to send me an email.
    I look forward to hearing from you! Superb blog by the way!

    Here is my page: i rollex11

  6. Does your blog have a contact page? I’m having a tough time locating it but, I’d like to send you
    an email. I’ve got some creative ideas for your blog
    you might be interested in hearing. Either way,
    great website and I look forward to seeing it develop over
    time.

    Feel free to visit my website … sky777 apk ios download

  7. I know this if off topic but I’m looking into starting my
    own weblog and was wondering what all is required to get set up?
    I’m assuming having a blog like yours would cost a pretty
    penny? I’m not very internet savvy so I’m not 100% sure.
    Any recommendations or advice would be greatly appreciated.

    Many thanks 0mniartist asmr

  8. This is very fascinating, You’re an overly professional blogger.
    I’ve joined your rss feed and sit up for seeking extra of your great post.
    Additionally, I’ve shared your website in my social networks

  9. I know this if off topic but I’m looking into starting my own blog and was wondering what all is required to get setup?

    I’m assuming having a blog like yours would cost a pretty penny?

    I’m not very web savvy so I’m not 100% certain. Any recommendations or advice
    would be greatly appreciated. Thanks

    Here is my site: ntc33 website

  10. Have you read anything good or anything at every single one?

    Then, there are people tend to be irritating like they represent concept.
    What makes their topic of conversation any better than yours or anyone else’s
    for that matter?

  11. Its like you read my mind! You appear to know a lot about
    this, like you wrote the book in it or something.
    I think that you can do with a few pics to drive the
    message home a bit, but other than that, this is great blog.
    An excellent read. I will certainly be back.

    Feel free to visit my page :: love138 id test (918kiss-m.com)

  12. I blog quite often and I genuinely thank you for your information. This article has truly peaked my interest.
    I am going to book mark your website and keep checking for new information about once a week.
    I subscribed to your Feed too.

    My webpage bandar slot live22 (918kiss-m.com)

Comments are closed.