Code Monkey home page Code Monkey logo

Comments (6)

ghanbari avatar ghanbari commented on August 24, 2024 3

@dgoujard Hi, add get collection operation to your RepoSyncRequest resource.

from create-client.

dunglas avatar dunglas commented on August 24, 2024

Did you followed these steps? https://api-platform.com/docs/client-generator/troubleshooting/

from create-client.

dgoujard avatar dgoujard commented on August 24, 2024

Hello, i have the same issue with some collection operations empty and some customs DataPersister (https://api-platform.com/docs/core/dto/#creating-a-service-oriented-endpoint).

When i try to use admin or generate client i got the same error.
In the admin i got this similar error :
Error: Unable to find the URL for "https://localhost:8443/docs.jsonld#Entrypoint/repoSyncRequest". at parseHydraDocumentation.js:441
This url is valid : https://localhost:8443/docs.jsonld and i had one property for Entrypoint/repoSyncRequest entity :
capture d ecran 2019-01-27 a 20 12 50

PS : I'm using the api-platform core v2.4.0-beta.1 because the property "outputClass" in the doc didn't exist in the last stable release

from create-client.

npluis avatar npluis commented on August 24, 2024

@ghanbari This works but it's strange that it is needed for other entities when you only want one resource (with --resource)

from create-client.

odoucet avatar odoucet commented on August 24, 2024

hello,
I encountered the same issue on 2.6.5 ; a get collection operation is required on all entities for admin to work.
Is this by design for an admin ? Should the error be more verbose in this case ?

from create-client.

sheldonjuncker avatar sheldonjuncker commented on August 24, 2024

I've run into this issue as well in the latest version of API platform and the hydra/react admin. Any solution?

from create-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.