Skip to main content
November 18, 2025
Question

Servlet call rejected with CSRF token issue

  • November 18, 2025
  • 2 replies
  • 0 views

Hello-

Need some advice on the best possible approach to make a servlet POST call from a servlet browser.

Our Objective : From Appian user servlet browser, upload large files using graph API to sharepoint using chunking. This solution works perfectly fine on standalone eclipse but getting hiccups on Appian cloud.

We cannot do this using traditional route as sharepoint API has a limitation of 250MB, our files are 1gb & beyond.

couple of approaches i tried :

  1. Moved all the logic directly into the browser, including the session creation...but Azure rejected this approach not allowing to create session from the browser...
  2. 2nd approach Appian UI to HTML interface making a Servlet POST call to initiate a upload graph api session & return the token back to HTML & from here making all the grinding to sharepoint, here we are getting CSRF token rejection 
Just want to know if there is a best working approach we could use. Any help here is really appreciated.
Regards
Naveen

    2 replies

    November 18, 2025

    It seems like there are a few AppMarket solutions that may help with your use case. For example -  [mention:c5537d767d854495b8ba989a7aff093f:f7d226abd59f475c9d224a79e3f0ec07] 

    If you're still getting a CSRF issue, and your environment is behind a VPN, then it's possible that there is a network egress route that needs to be added to your networking setup.

    November 18, 2025

    Thank you Jesse, let me look into this plugin.