Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    I get this error when running a api

    Installing Bagisto
    2
    2
    472
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yazan.khayal last edited by

      Failed to find class User in namespaces [App, Webkul\GraphQLAPI\Models] for directive @paginate.

      Screenshot 2022-03-04 120911.png

      I follows this steps ,

      https://devdocs.bagisto.com/1.x/graphql-admin-api/installation.html

      Screenshot 2022-03-04 120801.png

      My code
      Screenshot 2022-03-04 120938.png
      Screenshot 2022-03-04 120952.png !
      Screenshot 2022-03-04 121033.png Screenshot 2022-03-04 121026.png

      1 Reply Last reply Reply Quote 0
      • N
        Naresh-webkul last edited by

        Hello @yazan-khayal ,

        1. as i can see there is no endpoint for graphql api.
        2. make sure that you have installed graphql properly , you can cross check it by hitting graphql-playground on the browser.
          http://domain/graphql-playground
          if graphql playground is working fine that means it installed properly else you need to install it properly by following the installation guide.
          Thanks!
        1 Reply Last reply Reply Quote 0
        • First post
          Last post