
ApekshaAnand.Shetty (RSA) asked a question.
AFX reports this item failed with code [1] and message: 'Unauthorized User: Error code returned: 401 [{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]'
My customer has recently configured out of the box Salesforce connector in their production. They are seeing this Invalid session error every 4 to 5 hours in a day.
Every time they see this error they have fetch the token again.
Below is their configuration details. They are using proxy to connect to Salesforce instance.
They are not encountering this issue in Dev. It works perfectly fine in Dev. Dev also uses proxy to connect to Salesforce.
Salesforce team have mentioned that the connected app in Production is exactly configured as Dev.
They are on 7.2.1 P11. They are under the process to upgrade their Dev to higher version.
I see anecdotal evidence that the AFP version of the endpoint also affects the frequency of this error. Are these also the same in DEV?
What type of solution are you looking for for 7.2.1
Both dev and prod are using same Salesforce version 59.0. Also Dev and Prod IGL version are same.
I need pointers on where can we check on what is really happening. AFX Debug logs just show the error pasted in description.
They are using Proxy. Is this something to do with it?
Don't know if it's possible, but I would try to remove the proxy and observe whether the behavior is the same with direct connectivity.