Article ID: 126506, created on Aug 10, 2015, last review on Aug 10, 2015

  • Applies to:
  • APS 2.x

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.

70bf700e0cdb9d7211df2595ef7276ab 717db81efe94e616312b74fb03a5d474

Email subscription for changes to this article
Save as PDF