Strapi development mode
I created a Template whit Strapi and i follow the steps for Developing locally from ( https://railway.app/template/strapi ),
i can create "COLLECTION TYPES" and add content just fine.
But when i try to upload Images on "Media Library" i recive and error "An error occurred while uploading the file." and the app crash.
http: GET /upload/folders?sort=createdAt:DESC&page=1&pageSize=10&pagination[pageSize]=-1&filters[$and][0][parent][id][$null]=true (1134 ms) 200
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason
"Must supply api_key".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v19.0.0
7 Replies
Project ID:
N/A
66e637e0-0dd2-4b68-9cac-6bb552eb8211
Solution
have you setup all the correct cloudinary environment variables?
i haven`t at the time..but did now.
are the errors continuing?
No, all is good now. thank you
no problem!