Symptoms

I see the following error in Apache log on the endpoint host:

aps-runtime-error: {"code":404,"error":"Rest::RestException","message":"No defaults."}

What does it mean? Can it be ignored?

Cause

The error is related to the special Get resource defaults operation

The _getDefault() is the function that gets default values of a resource properties. It is called before provision. Must return an array of (proparty => value) pairs. Example:

array(“prop1” => “value1”, “prop2” => “value2”)

Please refer to Base Interfaces Methods Implementation

If there are no defaults provided it returns 404, 'No defaults.'. Please ignore the error.

Internal content