Error: Bad value for argument action passed to function

 2 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
BenignVanilla
Posts: 5
    I am new to the Lawson and AGS world, so bear with me if this is an obvious question. I researched on the web, and here at LawsonGuru, and have not been able to find an answer.

    I am attempting to login to Lawson via an AGS call, and am getting an error. In Fiddler, I see the call that is being made looks like this. User, Password and Server renamed to protect the innocent.

    _ssoUser=xxx&_ssoPass=yyy&_ssoLogin=Login&_action=LOGIN&_fromLoginPage=TRUE&_language=enus&_ssoOrigUrl=zzz

    The response I get from Lawson is:

    Error: Bad value for argument action passed to function.. Please contact your system administrator for further details.


    I have a similar integration at another customer site, and the login request looks identical, and it works. I am baffled. This appears to be something on the Lawson side, but I am not sure how to diagnose it.

    Any ideas?

    BV.

    Woozy
    Veteran Member
    Posts: 709
    Veteran Member
      Hi BenignVanilla,

      I don't think I understand what exactly you are trying to do, as the call you included doesn't appear to do anything. Generally an AGS call is used to make an update to form data. Of course, maybe I just haven't tried to do what you are doing.

      I'd recommend taking a look at the "IOS Application Program Interfaces" document for your operating system. You can download this from the InforXtreme downloads section under S3>>Technology>>System Foundation>>Lawson System Foundation>>{version}. This explains the ins-and-outs of AGS, DME, Drill, etc. calls.

      I hope this helps.
      Kelly Meade
      J. R. Simplot Company
      Boise, ID
      BenignVanilla
      Posts: 5
        Woozy...thank you. I will go check that out.