Can't Upload Media to Strapi

vasilionPRO

a year ago

Whenever I try to upload any images to the media library in my local admin panel, I get this:

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".

I'm not sure what the issue is, I have use strapi before locally without railway and did not have this issue, so im assuming its a railway setup issue? I used the Deploy Strapi feature of railway and used all the default settings.

Thanks in advance,
Luke

Solved

4 Replies

a year ago

The Strapi template uses Cloudinary for media storage, please make sure you have all the related variables for that setup correctly.


Status changed to Solved railway[bot] about 1 year ago


vasilionPRO

a year ago

Is there any docs on this? I found something on reddit but not sure how accurate it is?


a year ago

You just simply need to provide the variables it asks for.


vasilionPRO

a year ago

Thank you!


Can't Upload Media to Strapi - Railway Help Station