Примеры ошибок, возникающих при запросах к API CCEDK

[Введение в API CCEDK](http://ccedk.mojohelpdesk.com/help/article/130610) [Описание Public методов API](http://ccedk.mojohelpdesk.com/help/article/136546) [Описание Private методов API](http://ccedk.mojohelpdesk.com/help/article/136547) Примеры ошибок ========== 3.1 Ошибка вызова несуществующего метода/действия -------------------------- **example error response** {"errors":{"url":"incorrect api method or request string: `/api/v1/invoices/info`"},"response":false,"pagination":{"total_items":0,"items_per_page":0,"current_page":0,"total_pages":0}} 3.2 Ошибки авторизации -------------------------- **example error response** {"errors":{"Key":"auth field `Key` must not be empty; authorization failed","Sign":"auth field `Sign` must not be empty; authorization failed"},"response":false,"pagination":{"total_items":0,"items_per_page":0,"current_page":0,"total_pages":0}} {"errors":{"user_id":"user by Key not found or incorrect `user id`; authorization failed"},"response":false,"pagination":{"total_items":0,"items_per_page":0,"current_page":0,"total_pages":0}} {"errors":{"Sign":"auth field `Sign`=`87226b1q0ed64ddce8297d975b8ce646eb1e345b4f3f5cac8850a8f54e2bfba94f45556bd83e4e83c6ceff98e81d4fa1174ec837fe6fd1d69a12b7df28b85cdd` not equals; authorization failed"},"response":false,"pagination":{"total_items":0,"items_per_page":0,"current_page":0,"total_pages":0}} {"errors":{"Sign":"auth field `Sign`=`5ae44caQ24f3cc090018456f0edcb6985bbfb65339cc7bc0c59f3df2398ce96b6426567e0b30a94ebe71079a953b699cc6f4a81f585620dc9124808dd40ffc27` incorrect; authorization failed"},"response":false,"pagination":{"total_items":0,"items_per_page":0,"current_page":0,"total_pages":0}} {"errors":{"Key":"auth field `Key`=`1KNF69ZdYNHGG109SBKSSX5VI8TUC7CA1I6VPTXEH7JLRMB2RIWZH1VFHVGBLGU4` incorrect; authorization failed"},"response":false,"pagination":{"total_items":0,"items_per_page":0,"current_page":0,"total_pages":0}}
Published on: 2015-02-03 See other articles in Uncategorized.