BookmarkSubscribeRSS Feed
krishnaavm123
Fluorite | Level 6

Hi Team ,

 

 We have Base SAS code where we post API request to Entity index in SAS Visual investigator .

  In order to test one of my scenario I'd like to cancel the ongoing API request , is there anyway to stop request.

  So that API response table status can update with "Failed" Status.

  Basically I want to test another scenario with failed status , But my code always success at first run .

1 REPLY 1
joeFurbee
Community Manager

Hi @krishnaavm123

I'm not aware of a way to cancel the API request. Once it's sent, VI will process it. 

 

Are you wanting to have an asynchronous call come back as 'Failed' in the response? Or are you looking for a non-200 http response?

 

I can take a look and see if I can create an API call that will come back in a failed state. 


Join us for SAS Community Trivia

SAS Bowl LIII, SAS Hackathon 2025
Wednesday, August 25, 2025 at 10 am.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Discussion stats
  • 1 reply
  • 1069 views
  • 0 likes
  • 2 in conversation