Skip to main content

How to save errors from bulk CLI command


Kindly I need to know how to save errors report coming from CLI bulk command to identify which entries that didn’t succeed


How I can save these entries?


Entry 130 (

id=351859192851

template-key=recordRetentionClassificationCreationDateTrigger

data=retentionCode=PMDS-007 | Clinical Manufacturing and Distribution

as-user=3875303392

) failed with error:

Unexpected API Response [400 Bad Request | 2papqzhh552766yi.0906f287fbb26895fb5fe968f7ebe8bbf] bad_request - Request contains invalid parameters.




Entry 131 (

id=351859035675

template-key=recordRetentionClassificationCreationDateTrigger

data=retentionCode=PMDS-007 | Clinical Manufacturing and Distribution

as-user=3875303392

) failed with error:

Unexpected API Response [400 Bad Request | ea3opchh5527i4t7.014cfae7169598b3ae2af37e3bb7afeb1] bad_request - Request contains invalid parameters.

2 replies

CodeBoxSeb
  • Participating Frequently
  • 58 replies
  • August 22, 2023

Hi @user711 🙂


I’m not sure how to export error messages, but for example, if you need to export a User list into a CSV file, you would need to run something like this :


box users --csv --save-to-file-path=//Users/XXX/Downloads/export.csv 


Of course, you need to replace the path with the path of your machine.


  • Author
  • Known Participant
  • 15 replies
  • August 22, 2023

Thanks, unfortunately this didn’t work out, the whole point that I am executing a bulk command that has thousands of entries so i need to review the errors which are more than CMD can buffer


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings