Crunch-io / rcrunch

R package for interacting with the Crunch API
https://crunch.io/r/crunch/
GNU Lesser General Public License v3.0
9 stars 15 forks source link

[187579809]: fix for unexpected automation error structure #643

Open gergness opened 4 months ago

gergness commented 4 months ago

A couple of user reports of getting errors like:

  |===================                                                                              |  20%
Something went wrong during `pollProgress()` of url: https://shopperintelligence.crunch.io/api/progress/validate-and-run-script%3Aaa01a1c6907c49b0b63360146221d7f3%24cb296416-a0c3-49f4-bf66-496d2b55ce54/
Result URL: https://shopperintelligence.crunch.io/api/datasets/aa01a1c6907c49b0b63360146221d7f3/scripts/41668c72bd4a441c89443f288b8f2dcb/
Error in response$message$description :
  $ operator is invalid for atomic vectors

Using crGET("https://shopperintelligence.crunch.io/api/progress/validate-and-run-script%3Aaa01a1c6907c49b0b63360146221d7f3%24cb296416-a0c3-49f4-bf66-496d2b55ce54/") I see that response is not a list as expected for automation because of a 500 error.