System Information
-
Strapi Version: 3.2.5
-
Operating System: windows 10
-
Database: SQLite
-
Node Version: v12.19.0
-
NPM Version:
-
Yarn Version:
We have a model with image field . we are facing the problem with image. Application is getting stopped after uploading image due to unhandled exception.
I have done the following
1- Created a new record
2- Uploaded the image and then clicked “Upload 1 asset to library” . Finally i have clicked “Finish” button
3- Now clicked “save” button to save the record.
[Note : Now image field is not showing image . its showing null.]
4- finally i clicked Publish
Now if we try to list the model . New record is existing in my model. but image field is showing N/A.
5.Edit the record and then i try to update the image field from asset library . Now i am getting
Something went wrong.
Details
TypeError: Cannot read property ‘toString’ of undefined
in InputModalStepperProvider
in Unknown
in InputModal
in div
in styled.div
in InputMedia
in D
in FormattedMessage
in Inputs
in Inputs
in Unknown
in div
in div
in div
in styled.div
in div
in div
in div
in styled.div
in form
in EditViewDataManagerProvider
in EditViewProvider
in EditView
in EditView
in e
in e
in Suspense
in CollectionTypeRecursivePath
in e
in e
in Suspense
in Unknown
in Main
in ConnectFunction
in ErrorBoundary
in div
in PluginDispatcher
in PluginDispatcher
in e
in e
in div
in styled.div
in div
in div
in styled.div
in UserProvider
in GlobalContextProvider
in Admin
in ConnectFunction
in injectIntl(Connect(Admin))
in e
in PrivateRoute
in e
in div
in styled.div
in div
in styled.div
in Unknown
in Theme
in App
in ConnectFunction
in t
in e
in IntlProvider
in LanguageProvider
in ConnectFunction
in StrapiProvider
in Provider
Note i can able to see the image in Media library. i clicked the image in media library. Application is showing image . I clicked Finish button . i am getting “Not Found” …
Image is there . but not able to access it. please advice.
Thanks!
Note . i tried with PNG,jpg… size is small. even though its not working .
I have created a new strapi application. I can able to upload image . its working with new application. But its not working with existing application.
In my existing application, i tried to delete the image , i am getting error
Something went wrong.
Details
TypeError: Cannot read property ‘toString’ of undefined
in HomePage
in e
in e
in App
in ErrorBoundary
in div
in PluginDispatcher
in PluginDispatcher
in e
in e
in div
in styled.div
in div
in div
in styled.div
in UserProvider
in GlobalContextProvider
in Admin
in ConnectFunction
in injectIntl(Connect(Admin))
in e
in PrivateRoute
in e
in div
in styled.div
in div
in styled.div
in Unknown
in Theme
in App
in ConnectFunction
in t
in e
in IntlProvider
in LanguageProvider
in ConnectFunction
in StrapiProvider
in Provider
New version is 3.3.4 - Image is working fine. But my version is 3.2.5. Image upload is not working with 3.2.5. Please advice
In Media library, file is existing . but if you try to click “Finish” … its showing “File Not Found”. but we are able to download the file.
Note: Trace details for Media Library
1- Go to Media library
2-Choose the file [ Note: we can able to see the file]
3-Click Finish button [ Now are getting “F ile not Found” error. i have checked trace. ID is missing in post request .
Hi
Just changed the database to postgresql. I am getting the below error during file upload. please check it in attachments.
Please advice.
Thanks!
Do you use extensions that modified the admin UI or the Upload plugin?
Have you created some custom fields for Files?
No. i dont have custom fields.
Hi ,
Please update me regarding this.
Thanks
Do you have that problem only within ImageTypes content type?
Can you upload your strapi instance to a git repo temporary, as we can’t really debug screenshots? You can delete all your APIs except ImagesTypes. If yes, then send URL to PM.
sure . i will do it.
Regarding ImageTypes: tried with PNG and Jpg.
1 Like