Graphql error: Argument \"id\" of required type

default discord avatar
DasMergo
4 weeks ago
2

Argument "id" of required type "String!" was not provided.


query :



{


Article(locale: fa, fallbackLocale: none) {


title


id


}


}

  • default discord avatar
    Derosul
    4 weeks ago

    You need to specify an id when querying a single

    Article


    if you want a list, I guess there is an

    Articles

    key 🙂

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.