Are you going through the proxy?  If you avoid the proxy you won’t get any useful information because the Flash Player can’t return it.  If you go through the proxy it tries to convert the error into something that Flex can interpret and therefore propagate up to you.

 

Matt

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Cindy Lee
Sent: Tuesday, May 31, 2005 9:55 AM
To: [email protected]
Subject: [flexcoders] HTTPService error strings

 

I would like to catch custom errors coming back from HTTPService calls,
but all Flex returns as the error string is a generic "Cound not retrieve
data" message.  I thought I had this working in the Flex 1.0 eval version
by having the backend script simply return a string in the format:

Status: 400: My custom error

with either no Content-Type line, or with the Content-Type line after
the status line, but this doesn't work now (with Flex 1.5).  Does anyone
know what I should have the backend cgi script return in order for Flex to
be able to see the custom error?

Thanks.




Yahoo! Groups Links

Reply via email to