Build a Youtube Clone with Strapi and Flutter

This is part one of this blog series, where we'll learn how to build a YouTube clone. In this part 1, we'll set up the Strapi CMS backend with collections, create data relationships, create custom endpoints for liking, commenting, and viewing videos, set up Socket.io, and create lifecycle methods to listen to real-time updates on Strapi collections.


This is a companion discussion topic for the original entry at https://strapi.io/blog/build-a-youtube-clone-with-strapi-and-flutter-part-1
1 Like

Hi, When I call register api(http://localhost:1337/api/auth/local/register) in postman, with body like:

{
    "username": "user1232",
    "password": "P@ssw0rd123",
    "email": "user1232@xyz.com",
    "profile_picture": 11
}

the response failed with message:

{
    "data": null,
    "error": {
        "status": 400,
        "name": "ValidationError",
        "message": "Invalid parameters: profile_picture",
        "details": {}
    }
}

what is the problem, what should I do with profile_picture field?