Mass Update Feature

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ronea23
    Junior Member
    • Jul 2015
    • 29

    #1

    Mass Update Feature

    Dear Team,

    Let me know how to user the mass update feature for leads..


    When i select the leads and do the mass update feature i see only Error 400.

    Pls help.


    Regards,
    Ronald
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9717

    #2
    Hi

    I can't reproduce your issue. It works on my instance. What field do you try to update? Or error occurs before you select any field.

    Comment

    • ronea23
      Junior Member
      • Jul 2015
      • 29

      #3
      Hey Yuri,

      Am trying to change the assigned user... say i import leads and assign to multiple teams... i ll be changing the assigned user to a different user.

      How to do this ?

      we cannot go one by one right ... so we are using the mass update feature.

      Pls help.

      Regards,
      Ronald

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 9717

        #4
        I don't know why you get Error 400. Have no ideas. I looked into code and didn't find where 400 error can occur. Try to debug.
        Last edited by yuri; 10-30-2015, 01:54 PM.

        Comment

        • ronea23
          Junior Member
          • Jul 2015
          • 29

          #5
          with what privilege we can assign the lead ??


          Regards,
          ronald

          Comment

          • ronea23
            Junior Member
            • Jul 2015
            • 29

            #6
            I can give you access for the CRM, could you pls check out ??

            Comment

            • yuri
              EspoCRM product developer
              • Mar 2014
              • 9717

              #7
              Check Roles: Assignment Permission.

              Comment

              • ronea23
                Junior Member
                • Jul 2015
                • 29

                #8
                Hi yuri,

                this is what i have seen in the logs of the CRM folder.
                -----------------------------26-Oct-2015----------------------------------------------------------------------------

                [2015-10-26 09:28:07] Espo.ERROR: API [PUT]:/:controller/action/:action, Params:Array
                (
                [controller] => Lead
                [action] => massUpdate
                )
                , InputData: {"attributes":{"assignedUserName":"Inthikab Mohammed","assignedUserId":"zcrm_12387850000000900 89"},"ids":["5625ed8f6f79abecf","5625ed8f6da34ee6e","5625ed8f6 95332ee4","5625ed8f6596365a8","5624d0bcf38d36d34", "5624d0bcf034a516d","5624d0bcecdfa3f17","5624d0bce a8e5d612","5624d0bce8282b330","5624d0bce2df94897"],"where":null,"byWhere":false} - [] []
                [2015-10-26 09:28:07] Espo.ERROR: Display Error: , Code: 400 URL: /crm/api/v1/Lead/action/massUpdate [] []


                --------------------------------------------------------------------------------------------------------------------------

                Latest Nov 4 log

                --------------------------------------04-Nov-2015------------------------------------------------------------------
                [2015-11-04 00:04:46] Espo.ERROR: API [PUT]:/:controller/action/:action, Params:Array
                (
                [controller] => Lead
                [action] => massUpdate
                )
                , InputData: {"attributes":{"assignedUserName":"Ronald Reagan","assignedUserId":"55a3c0530478dfa06"},"ids ":["5624d0bcaca5888f4","5624d0bca8e58e3dd","5624d0bca 6c1a57e3"],"where":null,"byWhere":false} - [] []
                [2015-11-04 00:04:46] Espo.ERROR: Display Error: , Code: 400 URL: /crm/api/v1/Lead/action/massUpdate [] []

                ----------------------------------------------------------------------------------------------------------------------------------------------------

                looks some other issue , how to resolve this ?

                Regards,
                Ronald

                Comment

                • ronea23
                  Junior Member
                  • Jul 2015
                  • 29

                  #9
                  maybe URL is wrong ?? i see the payload is okay.

                  Comment

                  • yuri
                    EspoCRM product developer
                    • Mar 2014
                    • 9717

                    #10
                    What version of EspoCRM. I still don't know what it could be. There is no any 400 Errors in mass update code.

                    Comment

                    • ronea23
                      Junior Member
                      • Jul 2015
                      • 29

                      #11
                      Can u pls pm me ??

                      Comment

                      Working...