Skip to content

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

It’s because of fact that you don’t have permission to access org using API.

If you are using 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.

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’m truly enjoying the design and layout of your website. It’s a very easy
    on the eyes which makes it much more pleasant for me to come
    here and visit more often. Did you hire out a developer to create your theme?
    Superb work! 0mniartist asmr

  2. Saya telah berselancar online lebih dari tiga jam
    hari ini, namun saya tidak pernah menemukan artikel menarik seperti
    milik Anda. It’s cukup berharga bagi saya. Menurut pendapat saya , jika semua webmaster dan blogger membuat konten yang baik seperti yang Anda lakukan, web akan menjadi lebih berguna dari sebelumnya.

    My homepage … joker123 deposit pulsa

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

    Feel free to visit my site – Joker123 apk 2021

Comments are closed.