Skip to main content

Notifications

Dynamics 365 general forum
Unanswered

Error in Action [object Object]

Posted on by 355

Hi,

when I click on a button a JS is called. The Js calls an action.

Now, when I click on the button, an error message says Error in Action [object Object].

What is this error related to? Is it related to the action? If yes, what should I check to solve the issue?

  • SarahMoustafa Profile Picture
    SarahMoustafa 25 on at
    RE: Error in Action [object Object]

    Hi,

    To understand if it's action or JS related issue, can you clarify what step specifically throwing that error.

    You can do that by the following:

    1. Open the Action, navigate to Sessions and see if there's any related failed ones.  
      1. If you found any, this means it's action related issue. Have a look into the error details maybe it contains more details that helps to identify the issue. Paste it here if need extra help.
      2. Check what action's step that fails exactly. Is it OOB or custom activity.
        1. Usually, this error happens with me if the action is preforming an operation to a record that the calling user doesn't have privilege to do so for that entity.
    2. Debug the button JS action function. See where it fails and check also what the parameters and other configuration passed to execute the action.

    More clarity on which components that causing this and more details of the error message will help to narrow down the possibilities.

  • Wahaj Rashid Profile Picture
    Wahaj Rashid 11,319 on at
    RE: Error in Action [object Object]

    Hi,

    Thank you for your query.

    Did you try calling the action from a workflow (for testing)? To me, it looks like the wrong/bad request parameters to call the action.

    Please share the JS code, so we can help you figure out the issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans