Not applicable

@abjaffrey You can make sure below steps with avoiding using variable outside of try block and remove duplicate catch block,

 

You're passing current.ip_address as a string parameter to the REST Message. If the ip_address field is empty, this could result in an undefined value being sent.

Correctly validate the current.ip_address before using it.

 

responseBody is declared within the try block but used outside it, potentially causing an error if the try block fails.

 

There’s a second catch(err) block after the main code, which is syntactically incorrect.

 

Avoid calling current.update() within a synchronous Business Rule. It can cause recursion and performance issues.

 

Hope this will help you.