Special characters failing API call

Certified Associate Developer

Hello All,

I have build an application where the data entered by users are getting stored inside mssql table. To accomplish this functionality we have used API call, It works fine when the entered values are normal text but if user enters huge number of special characters then the api call is failing. We have third party application to launch api calls manually, When we launch the API with same data from that application, It works fine. Can someone please suggest me a better method to get rid of this issue? 

 

example string: "{}|[]\\%3b':\",.//.,<>?~/*-+!@#$%^&*()_+"

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Associate Developer
    in reply to Dylan Salopek
    Hi Dylan,

    By API i mean that the actual logic to insert data into database is available in .NET language and we are just sending data in the form of API from where it take cares of required operations to be done. Also, The error we are getting is not specific its just saying problem to execute the API call but when we pick up the same data from the process and use inside third party application to execute API, It works totally fine so my assumption is that something is happening inside Appian
  • I see.

    It may be worth contacting Appian Support, as its hard to debug without knowing the specifics of your impementation. They will be able to offer more insight into your issue and most likely be able to offer a solution to your problem.

    Thanks,
    Dylan