“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… Read More »“This session is not valid for use with the REST API” while making query