From def7e961b4af13a8be95a9d9f58255ccbc09b1cb Mon Sep 17 00:00:00 2001 From: Ken Sheedlo Date: Thu, 8 Aug 2013 10:44:19 -0700 Subject: docs(minerr): add description for ngResource:badcfg Closes #3509 --- docs/content/error/ngResource/badcfg.ngdoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content/error/ngResource/badcfg.ngdoc b/docs/content/error/ngResource/badcfg.ngdoc index c27dc7c0..07145466 100644 --- a/docs/content/error/ngResource/badcfg.ngdoc +++ b/docs/content/error/ngResource/badcfg.ngdoc @@ -2,3 +2,10 @@ @name ngResource:badcfg @fullName Response does not match configured parameter @description + +This error occurs when the {@link api/ngResource.$resource `$resource`} service expects a response that can be deserialized as an array, receives an object, or vice versa. +By default, all resource actions expect objects, except `query` which expects arrays. + +To resolve this error, make sure your `$resource` configuration matches the actual format of the data returned from the server. + +For more information, see the {@link api/ngResource.$resource `$resource`} API reference documentation. -- cgit v1.2.3