You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Javascript SDK for [ImageKit](https://imagekit.io/) provides URL generation for image & video resizing and provides an interface for file upload. This SDK is lightweight and has no dependency. You can also use this as an ES module.
13
+
Javascript SDK for [ImageKit](https://imagekit.io/) provides URL generation for image & video resizing and provides an interface for file upload. This SDK is lightweight and you can also use this as an ES module.
14
14
15
15
ImageKit is complete media storage, optimization, and transformation solution that comes with an [image and video CDN](https://imagekit.io/features/imagekit-infrastructure). It can be integrated with your existing infrastructure - storage like AWS S3, web servers, your CDN, and custom domain names, allowing you to deliver optimized images in minutes with minimal code changes.
Copy file name to clipboardExpand all lines: src/constants/errorMessages.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,10 @@ export default {
6
6
MISSING_UPLOAD_FILE_PARAMETER: {message: "Missing file parameter for upload",help: ""},
7
7
MISSING_UPLOAD_FILENAME_PARAMETER: {message: "Missing fileName parameter for upload",help: ""},
8
8
MISSING_AUTHENTICATION_ENDPOINT: {message: "Missing authentication endpoint for upload",help: ""},
9
-
MISSING_PUBLIC_KEY: {message: "Missing public key for upload",help: ""},
9
+
MISSING_PUBLIC_KEY: {message: "Missing public key for upload",help: ""},
10
10
AUTH_ENDPOINT_TIMEOUT: {message: "The authenticationEndpoint you provided timed out in 60 seconds",help: ""},
11
11
AUTH_ENDPOINT_NETWORK_ERROR: {message: "Request to authenticationEndpoint failed due to network error",help: ""},
12
+
AUTH_INVALID_RESPONSE: {message: "Invalid response from authenticationEndpoint. The SDK expects a JSON response with three fields i.e. signature, token and expire.",help: ""},
12
13
UPLOAD_ENDPOINT_NETWORK_ERROR: {
13
14
message: "Request to ImageKit upload endpoint failed due to network error",
0 commit comments