Skip to content

Commit f0d610c

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
ANKUR DWIVEDI
authored and
ANKUR DWIVEDI
committed
updated error message
1 parent 5bac0d8 commit f0d610c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/constants/errorMessages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default {
1818
MISSING_SIGNATURE: { message: "Missing signature for upload. The SDK expects token, sginature and expire for authentication.", help: ""},
1919
MISSING_TOKEN: { message: "Missing token for upload. The SDK expects token, sginature and expire for authentication.", help: ""},
2020
MISSING_EXPIRE: { message: "Missing expire for upload. The SDK expects token, sginature and expire for authentication.", help: ""},
21-
INVALID_TRANSFORMATION: { message: "Invalid transformation parameter.", help: ""},
21+
INVALID_TRANSFORMATION: { message: "Invalid transformation parameter. Please include at least pre, post, or both.", help: ""},
2222
INVALID_PRE_TRANSFORMATION: { message: "Invalid pre transformation parameter.", help: ""},
2323
INVALID_POST_TRANSFORMATION: { message: "Invalid post transformation parameter.", help: ""},
2424
};

test/upload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ describe("File upload", function () {
12021202
await sleep();
12031203
var errRes = {
12041204
help: "",
1205-
message: "Invalid transformation parameter.",
1205+
message: "Invalid transformation parameter. Please include at least pre, post, or both.",
12061206
};
12071207
errorUploadResponse(500, errRes);
12081208
await sleep();

0 commit comments

Comments
 (0)