question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`soda_core_uploads_disabled` should not count as an error

See original GitHub issue

A failed check attempted to send data to Soda Cloud but I have disabled sending sample data. This resulted in 3 Errors but as I disabled this feature, it shouldn’t be counted (or reported) as an error

Soda Core 3.0.0b12
> /api/command (login with API key credentials)
< 200 (login ok, token received)
Empty file upload detected, not sending Content-Length header
No fileId received in response: {'code': 'soda_core_uploads_disabled', 'message': 'File uploads disabled by administrator'}
Soda cloud error: Could not upload sample <table_name>_failed_rows
  | 'fileId'
Empty file upload detected, not sending Content-Length header
No fileId received in response: {'code': 'soda_core_uploads_disabled', 'message': 'File uploads disabled by administrator'}
Soda cloud error: Could not upload sample failed_rows
  | 'fileId'
No fileId received in response: {'code': 'soda_core_uploads_disabled', 'message': 'File uploads disabled by administrator'}
Soda cloud error: Could not upload sample failed_rows
  | 'fileId'
Scan summary:

[...]

ERRORS:
Soda cloud error: Could not upload sample <table_name>_failed_rows
  | 'fileId'
Soda cloud error: Could not upload sample failed_rows
  | 'fileId'
Soda cloud error: Could not upload sample failed_rows
  | 'fileId'
Sending results to Soda Cloud

When viewing the exit code I get 3 which I assume is custom to prevent/catch types of failures…

[...]/soda-cl# echo $?
3

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tombaeyenscommented, May 16, 2022

removing the soda_cloud: config would fix it but i guess that is not what you want.

ok got it. in that case we ll roll out a fix release in the coming days for this.

0reactions
tombaeyenscommented, May 17, 2022

@vijaykiran can you let @jasonicarter know when he can expect a new release to be published?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is An Error In Baseball: Importance Of The Statistic
In basic terms, an unforced error is a mistake made by a player that does not get counted on the scoreboard, but most...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found