You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to upload image to 'api/media-library-pro/uploads' from postman. I get 200 status and success response.
But when i do $model->syncFromMediaLibraryRequest(<response object>)->toMediaCollection('thumb')
It returns invalid uuid error. I genarate uuid with uuid.v4() from postman. One of my uuid is 'beb9d892-38bc-4ec3-a9de-5f745c9c307d'.
I'm using media-library-pro and it is works on web page.
How can I sync image from Spatie\MediaLibraryPro\Models\TemporaryUpload to MyModel.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to upload image to 'api/media-library-pro/uploads' from postman. I get 200 status and success response.
But when i do
$model->syncFromMediaLibraryRequest(<response object>)->toMediaCollection('thumb')
It returns invalid uuid error. I genarate uuid with uuid.v4() from postman. One of my uuid is 'beb9d892-38bc-4ec3-a9de-5f745c9c307d'.
I'm using media-library-pro and it is works on web page.
How can I sync image from Spatie\MediaLibraryPro\Models\TemporaryUpload to MyModel.
Beta Was this translation helpful? Give feedback.
All reactions