I am using chef and trying to upload a cookbook on chef-server but getting an error in response:

{"error":["Invalid key all_files in request body"]}

However, I can see the list of cookbook using knife node list

My chefDK version:

chef -v
Chef Development Kit Version: 2.0.28
chef-client version: 13.2.20
delivery version: master (17c1b0fed9be4c70f69091a6d21a4cbf0df60a23)
berks version: 6.2.0
kitchen version: 1.16.0
inspec version: 1.31.1

Chef-server version is 12.0.5


DEBUG: Response body contains:
{"error":["Invalid key all_files in request body"]}
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response

I can't upload more logs, if one needs particular info then I can provide.

Any help would be appreciated.

  • 2
    Give a full log and the command involved, the tools version and chef-server version you're using, but that would be better suited on chef's slack for assistance than this site as this is likely to fade out in usefulness quickly. – Tensibai Aug 29 '17 at 13:16
  • Hi @Tensibai I have updated the question on you suggestion – Gourav Singla Aug 29 '17 at 13:49
  • Probably related github issue – Tensibai Aug 29 '17 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.