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


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.


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. Good way of describing, and good article to get information about my presentation subject matter, which i am going
    to present in university. asmr 0mniartist

  2. A fascinating discussion is worth comment. I believe that you should write more on this topic, it may not be
    a taboo matter but typically people do not discuss these
    topics. To the next! Cheers!!

  3. Nice post. I was checking continuously this blog and I’m impressed!
    Very useful information specially the last part :
    ) I care for such info much. I was looking for this particular information for a long time.
    Thank you and good luck.

    my web page; royaltooba.com

  4. Saya akan segera rebut rss Anda karena saya tidak bisa
    Ini waktu terbaik untuk membuat beberapa rencana untuk
    masa depan dan sekarang waktu untuk bahagia.
    Saya punya baca pasang ini dan jika saya
    bisa saya ingin menyarankan Anda beberapa menarik hal
    atau saran . Mungkin Anda bisa menulis artikel
    berikutnya yang berhubungan dengan artikel ini.

    Saya ingin membaca lebih hal kira-kira itu!

    Here is my webpage Daftar slot joker88

  5. I’m not sure why but this website is loading very
    slow for me. Is anyone else having this issue or
    is it a problem on my end? I’ll check back later and see if the problem still exists.

  6. I hardly drop remarks, but i did a few searching and wound up here “This session is not valid for use
    with the REST API” while making query from Developer Console – SFDCians.
    And I do have 2 questions for you if you usually do not mind.
    Is it only me or does it look like a few of these comments come across as if they are left by brain dead folks?
    😛 And, if you are writing on additional online social sites, I would like to keep up with everything fresh you have to post.

    Could you make a list of the complete urls of
    your communal pages like your linkedin profile, Facebook page or twitter feed?

    my website; Lora

  7. I have read some good stuff here. Definitely
    price bookmarking for revisiting. I wonder how so much effort you
    place to make such a wonderful informative web site.

  8. Unquestionably believe that which you said. Your
    favorite justification appeared to be on the web the simplest thing to be aware of.
    I say to you, I definitely get irked while people think about worries that they just don’t know about.

    You managed to hit the nail upon the top and also defined out
    the whole thing without having side effect , people
    can take a signal. Will probably be back to get more. Thanks

  9. My coder is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the expenses. But he’s tryiong none the less.
    I’ve been using WordPress on a number of websites for about a year and am anxious about
    switching to another platform. I have heard excellent things
    about blogengine.net. Is there a way I can import all my
    wordpress content into it? Any kind of help would be really appreciated!

    Feel free to surf to my webpage :: ultimatedunitedbrothersclub.com

  10. Saya telah telah menjelajah online lebih dari 3 jam hari ini, namun saya tidak pernah menemukan artikel menarik seperti milik Anda.
    It’s cukup berharga bagi saya. Secara pribadi , jika
    semua webmaster dan blogger membuat konten yang baik seperti yang Anda lakukan, net
    akan menjadi lebih berguna dari sebelumnya.

    My webpage … No wa joker123

Comments are closed.