Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom API plugin not found #97

Open
alxzhdanov opened this issue Dec 12, 2022 · 1 comment
Open

Custom API plugin not found #97

alxzhdanov opened this issue Dec 12, 2022 · 1 comment

Comments

@alxzhdanov
Copy link

alxzhdanov commented Dec 12, 2022

Joomla! 3.10.11

  1. Users API not working.
  2. Article API - working
  3. Try to create myself plugin like example and article plugin
    My request via Telerik Fiddler
    POST http://localhost/jcb3/index.php?option=com_api&app=leads&resource=lead&format=raw HTTP/1.1 X-Authorization: Bearer d0e6be8e9ae1c3d3397ef78a19af7b52 Content-Type: application/x-www-form-urlencoded Host: localhost

Answer:
HTTP/1.1 200 OK Date: Mon, 12 Dec 2022 09:51:23 GMT Server: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.2 X-Powered-By: PHP/7.4.2 Set-Cookie: 67ba58e1057721e791387d048636f7d0=1cmqg6oi1cevn35lt9p60bovgn; path=/; HttpOnly status: 404 Content-Length: 457 Content-Type: application/json <br /> <b>Warning</b>: Header to delete may not contain colon. in <b>C:\xampp\htdocs\jcb3\components\com_api\controllers\http.php</b> on line <b>182</b><br /> <br /> <b>Warning</b>: Header to delete may not contain colon. in <b>C:\xampp\htdocs\jcb3\components\com_api\controllers\http.php</b> on line <b>182</b><br /> {"err_msg":"Leads API Plugin not found, Leads is probably not installed","err_code":400,"response_id":"","api":"","version":"","data":{}}

@vinayak-patil
Copy link

Check you have enabled your Leads API Plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants