@Prabha Thanks for reaching out.
As per the error messgae "Object reference not set to an instance of an object. Error while retrieving data from the Cache for a key SCPAccessToken" it looks like the object is null and you are trying to access the value of this object for the key SCPAccessToken. The stack trace will have more details on the exact line and which piece of code is throwing this error. You can review the application insights logs to get the stack trace or you can also review the diagnostic and solve problem blade on your function app that will give more details on the exception and the mitigation steps if any.
Feel free to get back to me if you need any assistance.