Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(error/badcfg): added missing "but" #10473

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/error/$resource/badcfg.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@fullName Response does not match configured parameter
@description

This error occurs when the {@link ngResource.$resource `$resource`} service expects a response that can be deserialized as an array, receives an object, or vice versa.
This error occurs when the {@link ngResource.$resource `$resource`} service expects a response that can be deserialized as an array, but 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.
Expand Down