SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 63394: You see a run-time exception error in SAS® Business Data Network after a RESTful application programming interface (API) query

DetailsHotfixAboutRate It

In SAS Business Data Network, you might use a RESTful API query similar to the following:

curl -X GET -k -H "authorization: Basic <authentication-token>" -H "Accept: application/json" -H "Content-Type: application/json" -i http://<host:port>/SASBusinessDataNetwork/rest/terms/<term-id>

In some cases, a term has been deleted and is in the Delete Term workflow and has an Under Review status, as shown here:
image label

After the query, you see the following error:

com.sas.dm.common.rest.advice.GlobalExceptionHandler - Exception caught:
java.lang.RuntimeException: Required argument is missing: 2

This error is generated when any term is created, approved, and deleted, but the deletion was not approved by a data management administrator. However, the REST API should not generate an exception. The query should just deliver information about the terms.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Business Data NetworkMicrosoft® Windows® for x643.29.4 TS1M4
64-bit Enabled AIX3.29.4 TS1M4
64-bit Enabled Solaris3.29.4 TS1M4
HP-UX IPF3.29.4 TS1M4
Linux for x643.29.4 TS1M4
Solaris for x643.29.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.