function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PritzlPritzl 

Web-to-Case support on Sandbox accounts?

Hello,

We're having an issue with running Web-to-Case on our sandbox environment. Specifically, the servlet url (https://test.salesforce.com/servlet/servlet.WebToCase) keeps redirecting us to a login page once the form is submitted. Should we be using some alternate url or is this functionality completely disabled for sandbox accounts?
PritzlPritzl
Disregard last. I figured it out. URL for the servelet was actually https://tapp0.salesforce.com/servlet/servlet.WebToCase which is the server we get redirected to after logging in. That said, I found it interesting that the "Generate HTML" function actually provides the incorret URL. It seems the redirection only works for the front page and not the web service calls.
Chris DChris D
This bug has never been fixed.

I have no idea if it has been logged as a case in SFDCs internal bug tracking system since this thread has never been responded to by an SFDC employee.