AnsweredAssumed Answered

REST HTTP Errors

Question asked by koushik.saha297727 on May 12, 2017
Latest reply on May 12, 2017 by Srinivas Chandrakanth Vangari

I have doubt on the types of error we can expect from REST service?

 

I tried few scenarios and these I got –

  1. I tried to invoke the service by invalid basic authentication credential. In Postman I received an error as – ‘Unauthorised’ and status = 401. Hope this is correct
  2. I undeployed the process by de-attaching it from atom environment and tried to invoke the service. I received an error as – ‘Unauthorised and status = 401.Should not there be some kind of Service not found error
  3. I tried to invoke the service with invalid JSON Input . Initialy I did not get any error and got status OK. Only when I added a mapper activity and added the same JSON input profile in the Source. I got a error in Postman as –

         'Error 500 No data produced from map 'ACS_To_SPICE_Mapper', please check source profile and make sure it       matches source data'. Hope this is ok?

4. Is there any more error we can expect from the REST service other than the above?

Outcomes