Jump to content


DataLoader: error trapping for error #2101

Recommended Posts

using DataLoader — can't figure out how to trap for error #2101:


Exception fault: Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.

at Error$/throwError()

at flash.net::URLVariables/decode()

at flash.net::URLVariables()

at flash.net::URLLoader/onComplete()



The problem is that the url is wrong so the server is returning a standard 401 error page instead of the expected URL-encoded variables (the format of the call is set to "variables" since that is what is expected)


I've set every setting for DataLoaderVars for callbacks, and put in try/catch statements wherever possible, but the error is not being trapped.

Link to comment
Share on other sites

Yeah it looks like DataLoaderVars will see that as success as you are getting something back.

You requested something, and the server is returning something. I don't think we can change anything in DataLoaderVars.

Can you access the string passed to URLVariables.decode()?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.