Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 933
    • Issues 933
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #149

Closed
Open
Opened May 29, 2018 by jitendra@jitendraDeveloper

Fatal Error on customvalue get api

Replicated on dmaster http://dmaster.demo.civicrm.org/civicrm/api#explorer

Entity = CustomValue Action = get Fields to return => custom_1 Parameter => entity_id = <any contact id>

$result = civicrm_api3('CustomValue', 'get', [
  'sequential' => 1,
  'return' => "custom_1",
  'entity_id' => 202,
]];

Result -

"is_error": 1,
"error_message": "A fatal error was triggered:  is not of type String"
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#149