Skip to content

Commit 87894ad

Browse files
Untracked: Sets either 404 or 422 as potential responses.
1 parent f031838 commit 87894ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/DataMart.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ QSaveData <- function(object, filename, compression.file.size.threshold = NULL,
343343

344344
if (!has.errored && res$status_code == 413) # 413 comes from IIS when we violate its web.config limits
345345
stopBadRequest(res, "Could not write to Displayr Cloud Drive. Data to write is too large.")
346-
else if (!has.errored && res$status_code == 404)
346+
else if (!has.errored && (res$status_code == 404 || res$status_code == 422))
347347
{
348348
stop("QSaveData has encountered an unknown error. ",
349349
"404: The file could not properly be saved. ",

0 commit comments

Comments
 (0)