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
9 replies