R
Railway4mo ago
Raul

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
Solution:
have you setup all the correct cloudinary environment variables?
Jump to solution
7 Replies
Percy
Percy4mo ago
Project ID: N/A
Raul
Raul4mo ago
66e637e0-0dd2-4b68-9cac-6bb552eb8211
Solution
Brody
Brody4mo ago
have you setup all the correct cloudinary environment variables?
Raul
Raul4mo ago
i haven`t at the time..but did now.
Brody
Brody4mo ago
are the errors continuing?
Raul
Raul4mo ago
No, all is good now. thank you
Brody
Brody4mo ago
no problem!