“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. Magnificent beat ! I wish to apprentice whilst you amend your website, how can i subscribe for
    a weblog website? The account helped me a acceptable deal.
    I were tiny bit familiar of this your broadcast provided shiny transparent concept.

    my blog :: iwebaz.com

  2. Fantastic goods from you, man. I’ve understand your stuff previous
    to and you’re just extremely fantastic. I really
    like what you’ve acquired here, really like what you’re saying and the way in which you say
    it. You make it entertaining and you still take care
    of to keep it sensible. I can’t wait to read far more from you.
    This is really a great web site.

    My page; http://www.fidofuntv.com

  3. With havin so much content do you ever run into any issues
    of plagorism or copyright violation? My website has a
    lot of completely unique content I’ve either written myself or outsourced but it
    looks like a lot of it is popping it up all over the web
    without my authorization. Do you know any ways to help protect against content from being ripped off?
    I’d definitely appreciate it.

    My site – http://www.freeglobalclassifiedads.com

  4. This design is spectacular! You certainly know how to keep a reader entertained.
    Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Great job.
    I really enjoyed what you had to say, and more than that,
    how you presented it. Too cool!

  5. Thank you for the good writeup. It if truth be told was once a entertainment account it.
    Glance complex to more added agreeable from you!
    However, how can we be in contact?

  6. Ahaa, its pleasant dialogue on the topic of this paragraph at this
    place at this website, I have read all that, so now me also commenting
    at this place.

  7. Right here is the perfect webpage for anybody who hopes to understand this
    topic. You understand so much its almost tough to argue with you (not that I personally would want to?HaHa).
    You certainly put a new spin on a subject which has been discussed for a long time.
    Excellent stuff, just wonderful!

    Also visit my web page :: http://www.funkyfreeads.com

  8. Hello, this weekend is good designed for me, because this occasion i am reading this enormous educational piece of writing here at my home.

  9. Can I simply just say what a comfort to discover
    someone who really knows what they are discussing
    online. You definitely know how to bring an issue to light and make it important.

    More and more people ought to look at this and understand this side of your story.
    It’s surprising you’re not more popular because you certainly have the gift.

  10. You can definitely see your expertise within the work you write.
    The world hopes for even more passionate writers such as you who aren’t afraid to mention how they believe.
    All the time go after your heart.

  11. I think the admin of this web page is truly working hard in favor of his web page, since here every material is quality based information.

  12. I think this is among the most vital info for me. And i am
    glad reading your article. But should remark on few general things,
    The site style is perfect, the articles is really excellent :
    D. Good job, cheers

Comments are closed.