function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NajoopNajoop 

How to create a case with self service user account

Hi,

 

I have customer portal where they can log a case through UI. I am developing ASP.NET application where through salesforce API customer will able to enter username and password. API will authenticate the credential.

 

I am able to authenticate the use. But while creating Case through code I am getting error "INVALID_SESSION_ID: Self Service User Sessions are not valid for use with the API"

 

How can I solve this issue.?

 

Thanks

dkadordkador

CSS users cannot use most of the API. 

 

If you need to do something, you should authenticate the CSS user, then use a different, API-enabled, user to do whatever data manipulation you want to do.