Bad server response : how to debug

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rinorway
    Senior Member
    • Feb 2016
    • 180

    Bad server response : how to debug

    I'd like some advice on how to debug "bad server responses"

    For example this reproducible one in 4.02 when calling /api/v1/KnowledgeBaseArticle/layout/massUpdate, occurring when using mass update in the knowledge base.

    Is there any recommended approach to facilitate debugging of this?

  • yuri
    Member
    • Mar 2014
    • 8627

    #2
    Always first you need to check is a server's error log.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8627

      #3
      But it your case the cause is obvious. Missing comma in JSON.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • rinorway
        Senior Member
        • Feb 2016
        • 180

        #4
        Thanks, precise reading So fix is /application/Espo/Modules/Crm/Resources/layouts/KnowledgeBaseArticle/massUpdate.json

        Comment

        Working...