CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • 404 error when adding a user to a group via the rest interface
Pages: [1]

Author Topic: 404 error when adding a user to a group via the rest interface  (Read 440 times)

antland01

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Drupal
  • MySQL version: 5.5
  • PHP version: 5.0
404 error when adding a user to a group via the rest interface
May 17, 2014, 01:24:52 am
Hi me again, When i try and add a contact to the group using the rest interface i recieved a 404 error,

This is the URL i used

http://mysite.org/sites/all/modules/civicrm/extern/rest.php&key=123&api_key=123&entity=group_contact&action=add&contact_id=101435&group_id=299


Like before i couldn't find anything simular to this online

Thank you in advance for any help feel free to ask for any extra details needed  :)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: 404 error when adding a user to a group via the rest interface
May 17, 2014, 03:26:56 am
check where your civi module is installed and if you have rewrite rules that prevent the rest.php file to be accessed.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

antland01

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.4.0
  • CMS version: Drupal
  • MySQL version: 5.5
  • PHP version: 5.0
Re: 404 error when adding a user to a group via the rest interface
May 17, 2014, 03:46:14 am
Nope, No writing issues due to a can use that same rest.php file to add a contact




xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: 404 error when adding a user to a group via the rest interface
May 17, 2014, 06:32:41 am
ah:

test.php?... instead of rest.php&...
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • 404 error when adding a user to a group via the rest interface

This forum was archived on 2017-11-26.