“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. fantastic submit, very informative. I’m wondering why the other experts of this sector do
    not notice this. You must proceed your writing. I am sure, you have a huge readers’ base already!

    Feel free to visit my website game wm casino

  2. I am now not sure where you are getting your info,
    however good topic. I needs to spend a while studying more
    or working out more. Thank you for excellent info I was searching for this
    information for my mission.

  3. My brother suggested I might like this website.
    He was entirely right. This post actually made my day.
    You cann’t imagine just how much time I had spent for this
    information! Thanks!

  4. I think this is one of the most vital information for me. And i am satisfied studying
    your article. But should observation on few basic
    issues, The website style is great, the articles is actually nice : D.
    Just right job, cheers

  5. Today, I went to the beach with my children. I found a sea shell and gave it
    to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed.

    There was a hermit crab inside and it pinched her ear.

    She never wants to go back! LoL I know this is completely
    off topic but I had to tell someone!

  6. I am actually happy to glance at this website posts which contains
    lots of helpful facts, thanks for providing
    such information.

  7. What i do not realize is in fact how you’re not really much more well-favored than you
    may be right now. You are so intelligent. You know thus considerably in relation to this matter, produced me in my opinion consider
    it from numerous varied angles. Its like women and men don’t seem to be involved unless it’s
    one thing to accomplish with Girl gaga! Your individual stuffs excellent.
    All the time care for it up!

  8. You are so cool! I don’t suppose I’ve truly read anything like this before.
    So nice to find someone with genuine thoughts on this subject matter.
    Seriously.. thank you for starting this up. This site is something
    that is required on the internet, someone with a bit
    of originality!

    Feel free to surf to my website: rollex11

  9. Hey there would you mind letting me know which
    webhost you’re using? I’ve loaded your blog in 3 completely different web browsers
    and I must say this blog loads a lot quicker then most.
    Can you recommend a good internet hosting provider at a fair price?
    Thanks a lot, I appreciate it!

    Here is my web-site :: game wukong333 online

  10. I was suggested this web site by my cousin. I’m not sure whether this post is written by him as no one else know such detailed about my trouble.
    You are incredible! Thanks!

Comments are closed.