JimO

Code not working in Fed Ramp tenant. Did work in Commerical tenant

0 votes
Greetings We just got our prod and sandbox Fed Ramp tenant and I'm testing my code there. Getting errors. For instance the code worked on Commercial tenant (https://sandbox.esignlive.com) but not on Fed Ramp (https://sandbox-gov.esignlive.com) Silanis.ESL.SDK.Page documentPackages = eslClient.PackageService.GetPackages(DocumentPackageStatus.SENT, new PageRequest(0)); getting the error {"Could not get package list. Exception: Unexpected character encountered while parsing value: <. path="" line="" position="" help="" jim="">

Reply to: Code not working in Fed Ramp tenant. Did work in Commerical tenant

0 votes
Hey Jim, Couple of questions for you: Is it only that single line of code that is not working? Did you try anything else? (e.g. create and send package) What version of ESL is on fedramp? Regards,
Haris Haidary OneSpan Technical Consultant

Reply to: Code not working in Fed Ramp tenant. Did work in Commerical tenant

0 votes
Hi Haris The version is 11.0. I also tried this eslClient.AccountService.InviteUser(member); and it errored out with this message {"Failed to invite new account member.\t Exception: Unexpected character encountered while parsing value: <. path="" line="" position="" thanks="" jim="">

Reply to: Code not working in Fed Ramp tenant. Did work in Commerical tenant

0 votes
Hey Jim, I think I found the issue. Make sure your URL is: https://signer-sandbox-gov.esignlive.com/api I tested this with the SDK 11 and everything seemed to be working fine.
Haris Haidary OneSpan Technical Consultant

Reply to: Code not working in Fed Ramp tenant. Did work in Commerical tenant

0 votes
Hi Haris That looks like it fixed it, thanks much Jim

Reply to: Code not working in Fed Ramp tenant. Did work in Commerical tenant

0 votes
Hi Haris Follow-up on Fed Ramp testing So I can upload packages and sign documents now programmatically, and I can see those packages programmatically, but I can't see those packages in the UI. On the flipside I can create packages in the UI, but I can't see them programmatically. It behaves as two separate tenants. Is this expected behavior? Thanks Jim

Reply to: Code not working in Fed Ramp tenant. Did work in Commerical tenant

0 votes
Hey Jim, I'm not entirely sure if this is an expected behavior since I don't have a Fed Ramp sandbox/prod account. Would you be able to send me the package ids of both instances (i.e. one created through the SDK and one through the UI) so we can investigate this? You can send it to [email protected]. Please do not share the package ids here on the forums. Thanks!
Haris Haidary OneSpan Technical Consultant

Reply to: Code not working in Fed Ramp tenant. Did work in Commerical tenant

0 votes
Hi Haris I think you and your peers need your own sandbox account in the Fed Ramp. I'd prefer that you not test with my ID Thanks Jim

Reply to: Code not working in Fed Ramp tenant. Did work in Commerical tenant

0 votes
Hey Jim, As I understand it, you are a sender in an account and are using the account owner api key to create packages through the SDK (correct me if I'm wrong here). What you are experiencin is the normal behavior in eSignLive. Let me explain:
  • When creating packages through the SDK (using the account owner api key), they will appear in the account owner's dashboard and not yours. Hence, if you ask the account owner to login through the UI, the packages should appear there.
  • When creating packages through the UI (using your sender account), you can however retrieve these packages using the account owner api key. The easiest way would be by getting the sender completion report. Here's an example how you would do so:
    EslClient client = new EslClient(key, url);
    
                DateTime from = DateTime.Today.AddDays(-1);
                DateTime to = DateTime.Now;
    
                int i = 1;
    
                IList report = client.ReportService.DownloadCompletionReport(DocumentPackageStatus.DRAFT, from, to).Senders;
    
                foreach (SenderCompletionReport rep in report)
                {
                    Debug.WriteLine("Sender email: " + rep.Sender.Email + "\n");
                    IList packageReport = rep.Packages;
                    i = 1;
                    foreach (PackageCompletionReport package in packageReport) {
                        Debug.WriteLine("Package " + i + ": " + package.Name + package.Id + "\n");
                        i++;
                    }
                }
Hope this helps. Let me know if anything is unclear.
Haris Haidary OneSpan Technical Consultant

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off