Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Power Scripts for Jira Cloud
Results will update as you type.
  • Get started
  • Configuration guides
  • Integration guides
  • Feature guides
  • Advanced features
  • Migration resources
  • Simple Issue Language
    • Getting started with SIL
    • SIL reference guide
    • SIL Functions library
      • Function Index
      • Packages
      • Array Functions
      • Basic Functions
      • Date and Interval Functions
      • Excel Functions
      • File Manipulation Functions
      • HTTP Functions
        • fromJson
        • httpBasicAuthHeader
        • httpCreateCookie
        • httpCreateHeader
        • httpCreateParameter
        • httpDelete
        • httpGet
        • httpGetCookie
        • httpGetErrorMessage
        • httpGetHeader
        • httpGetReasonPhrase
        • httpGetResponseInfo
        • httpGetStatusCode
        • httpOptions
        • httpPatch
        • httpPost
        • httpPut
        • toJson
      • Incoming Mail Processing Functions
      • Integration with Other Systems
      • Jira Administration Functions
      • Jira Integration Functions
      • Jira Service Management Functions
      • Jira Software Functions
      • Listener Functions
      • Math Functions
      • Parameter Functions
      • Scheduling Functions
      • String Functions
      • System Integration
      • Webhooks Functions
  • Tutorials and recipes
  • Jira Product Discovery support
  • Release notes
  • Help and support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    httpGetErrorMessage
    Updated Aug 11

    httpGetErrorMessage

    Syntax

    httpGetErrorMessage()

    Package

    http

    Alias

     

    Pkg Usage

    errorMessage()

    Description

    Retrieves an error message (if any) generated by the latest HTTP request

    Return Type

    String

    The error message

    Example

    string errMsg = httpGetErrorMessage(); print("Last error message: " + errMsg);

    See also

    • Page:
      toJson
    • Page:
      fromJson
    • Page:
      httpPut
    • Page:
      httpOptions
    • Page:
      httpPatch
    • Page:
      httpGetStatusCode
    • Page:
      httpGetHeader
    • Page:
      httpPost
    • Page:
      httpCreateParameter
    • Page:
      httpCreateHeader
    • Page:
      saveURLToFile
    • Page:
      httpGetReasonPhrase
    • Page:
      httpDelete
    • Page:
      httpGetErrorMessage
    • Page:
      httpGetCookie
    • Page:
      httpBasicAuthHeader
    • Page:
      httpGet
    • Page:
      httpGetResponseInfo
    • Page:
      httpCreateCookie
    Peacock

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 13, "requestCorrelationId": "de79247985284de1a8f0436059b8e78d"}