“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. Every weekend i used to pay a visit this site, for the
    reason that i wish for enjoyment, since this this
    web page conations genuinely good funny material too.

  2. Do you mind if I quote a few of your articles as long as I provide credit and sources back to your webpage?

    My website is in the exact same niche as yours and my visitors would definitely benefit from a lot of the information you provide
    here. Please let me know if this okay with you. Thank you!

  3. Pretty section of content. I just stumbled upon your blog and in accession capital to
    assert that I acquire actually enjoyed account your blog posts.
    Any way I’ll be subscribing to your feeds and even I achievement you access consistently quickly.

  4. I truly love your blog.. Pleasant colors & theme.
    Did you build this web site yourself? Please reply back as I’m trying to create my own website and would love to learn where you got this from or what the
    theme is called. Thanks!

  5. I loved as much as you will receive carried out right
    here. The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get bought an nervousness over that you wish be
    delivering the following. unwell unquestionably come further formerly again since exactly the same nearly
    very often inside case you shield this increase.

  6. Hi, I do believe this is a great site. I stumbledupon it
    😉 I will come back yet again since i have book-marked it.
    Money and freedom is the greatest way to change, may you be rich and continue
    to help other people.

  7. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time
    a comment is added I get three emails with the same comment.
    Is there any way you can remove me from that service?
    Thank you!

  8. It’s amazing to pay a visit this site and reading the views
    of all friends regarding this article, while I am also zealous of getting
    knowledge.

  9. You could definitely see your skills within the work you write.

    The arena hopes for more passionate writers such as
    you who are not afraid to mention how they believe. At all
    times follow your heart.

  10. First of all I want to say superb blog! I had a quick
    question which I’d like to ask if you do not mind.
    I was interested to find out how you center yourself and clear your mind prior to writing.
    I have had a difficult time clearing my thoughts in getting my ideas out there.
    I do enjoy writing however it just seems like the first
    10 to 15 minutes tend to be wasted just trying to figure out
    how to begin. Any recommendations or tips? Cheers! asmr 0mniartist

  11. Thanks for finally writing about > “This session is not
    valid for use with the REST API” while making query
    from Developer Console – SFDCians < Loved it!

  12. Asking questions are actually pleasant thing if you are not understanding something entirely, however this piece of writing
    presents good understanding even. asmr 0mniartist

  13. Saya telah menjelajah online lebih dari tiga jam hari ini, namun saya tidak pernah menemukan artikel menarik seperti milik
    Anda. It is cukup berharga bagi saya. Menurut pendapat saya ,
    jika semua pemilik web dan blogger membuat konten yang baik seperti
    yang Anda lakukan, net akan menjadi a jauh lebih berguna dari sebelumnya.

    my web-site – Joker123 Jagoan88 (Gameaco.Com)

  14. Howdy! I could have sworn I’ve been to this site before but after
    going through many of the posts I realized it’s new to me.
    Nonetheless, I’m certainly delighted I stumbled upon it and I’ll be book-marking it and checking back often!

  15. I just couldn’t leave your website before suggesting that I really
    enjoyed the usual information a person supply to your visitors?
    Is gonna be again ceaselessly to investigate cross-check new posts

  16. Spot on with this write-up, I truly think this website needs much more attention. I’ll probably be back again to read through more, thanks for the advice!
    0mniartist asmr

Comments are closed.