Giter Site home page Giter Site logo

Comments (8)

shadcn avatar shadcn commented on August 20, 2024

A 500 error might be something on the Drupal end. Can you check if /jsonapi path is reachable on your Drupal site?

from next-drupal.

sabbir-hossain avatar sabbir-hossain commented on August 20, 2024

@arshad yes, it is reachable.

from next-drupal.

shadcn avatar shadcn commented on August 20, 2024

Anything in the Drupal logs?

from next-drupal.

shadcn avatar shadcn commented on August 20, 2024

@sabbir-hossain Did you figure this out?

from next-drupal.

sabbir-hossain avatar sabbir-hossain commented on August 20, 2024

@arshad I have deploy drupal project in cloud. then it is working.

from next-drupal.

jsheffers avatar jsheffers commented on August 20, 2024

I've run into this same issue

Drupal logs show:

ArgumentCountError: Too few arguments to function Drupal\simple_oauth\Entities\AccessTokenEntity::convertToJWT(), 0 passed in /Path/vendor/league/oauth2-server/src/Entities/Traits/AccessTokenTrait.php on line 78 and exactly 1 expected in Drupal\simple_oauth\Entities\AccessTokenEntity->convertToJWT() (line 21 of /Path/web/modules/contrib/simple_oauth/src/Entities/AccessTokenEntity.php)

from next-drupal.

shadcn avatar shadcn commented on August 20, 2024

@jsheffers I think I've seen this before. Does this patch/thread help? https://www.drupal.org/project/simple_oauth/issues/3194635

from next-drupal.

jsheffers avatar jsheffers commented on August 20, 2024

For me, this was because of PHP 8 and dependency issues. Applying the patch from the following thread to drupal/simple_oauth and it fixed this issue.

https://www.drupal.org/project/simple_oauth/issues/3230707

from next-drupal.

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.