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

Error response in civicrm_api3() don't have 'is_error' and 'error_code' filed. #5

Closed
awg-github opened this issue Aug 23, 2019 · 2 comments
Assignees

Comments

@awg-github
Copy link

awg-github commented Aug 23, 2019

Joomla and Drupal returns standard error response.
But when use this plugin - response is changed(don't have is_error and error_code filed)

CiviCRM error response with plugin:
Selection_008

Standard CiviCRM error response:
Selection_009

Could you add is_error and error_code filed?

@mecachisenros
Copy link
Owner

@awg-github can you test this two commits 3507646, 7715594 they should standardise the error responses for the rest endpoint.

@mecachisenros mecachisenros self-assigned this Aug 24, 2019
@awg-github
Copy link
Author

@mecachisenros , thanks for fast answer!

Looks good. API returns the same error response.

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