+ Start a Discussion
Agustin BAgustin B 

Error 526 in public site web service

Hi everyone, I am facing a weird issue.
I have a public site with a web service that sometimes returns 526 to the one making the request and sometimes it returns 200.

Does anyone know if I need a special configuration for this endpoint being in a public site? This is what I have:

User-added image
Maybe if I play with the HTTPS option? I read this issue is about ssl but couldn't find anything on the salesforce forums.

Thanks!!
AbhishekAbhishek (Salesforce Developers) 
Can you provide an error screenshot?
Agustin BAgustin B
HI Abhishek, is just a 526 for example if you hit the endpoint in the public site with postman or soapapi instead of getting 200 they get 526.
I wasn't able to replicate the error, that's why this is weird for me, sometimes they get 526 and sometimes 200.
AbhishekAbhishek (Salesforce Developers) 
Usually 200“OK” success code, for GET or HEAD request.

But I haven't noticed anything like 526.

You can check this for reference,

https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/errorcodes.htm


If face the same issue you can take a screenshot and reach salesforce support So that they can look into server logs and assist you.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.