Why do I receive this error “Failed to load resource: the server responded with a status of 403 (Forbidden)”?
Environment:
B2C Service Chat
Customer Portal
Did you recently move to Customer Portal (CP) version 3.7+?
If yes, read on.
Are you having problems with chat authenticating?
If yes, read on.
Are you receiving the error message “Failed to load resource: the server responded with a status of 403 (Forbidden)”?
If yes, read on.
Issue:
At this time, the following error appears within the Console tab:
“Failed to load resource: the server responded with a status of 403 (Forbidden)”
Some customers on CP version 3.7+ may experience an issue where chats are not authenticating. You may encounter the following:
- Open a browser console
- Select the Console tab
- Create a test chat
- Do not login
- Complete the form (if required)
- Submit the chat
Resolution:
This error occurs when the configuration for CP_CONTACT_LOGIN_REQUIRED is set to one (1). When set to one, CP_CONTACT_LOGIN_REQUIRED will prevent chat sessions from entering the system.
To remedy this issue, set the configuration for CP_CONTACT_LOGIN_REQUIRED to null (0). If you require authentication for non-chat related pages, then you should ensure that the login_required = true on the page level.