Loading

Error '503 service unavailable' when URL contain special characters

게시 일자: Oct 13, 2022
상세 설명
When Special characters like "< ,>,( ,),{,},[,] ,!" are added to the custom URL of the salesforce sites, the URL will return the 503 error (not 404)
 
솔루션
Whenever special character like "< ,>,( ,),{,},[,] ,!"  etc are added to the site URL then "503 service unavailable" as expected.

Example :-   The customer site https://subdomain.example.com (will work fine) .Now try to add one of the special characters  like  " < ,>,( ,),{,},[,] ,! " in the URL and the new URL will be like https://subdomain.example.com/<  and it will throw the error page 503 service unavailable  (
Press F12 to open the Browser console and check the Network tab for logs).

This happens because the request passes through a name validation check before it gets to a resource lookup. Name validation fails at that point and request will halt with a non 404 error and a subsequent resource lookup will not occur at all.

 
Knowledge 기사 번호

000381809

 
로드 중
Salesforce Help | Article