Amazon SQS

Integrating with Amazon SQS

Setup instructions

  1. In Raygun, on the application sidebar, click Integrations, then Amazon SQS:

  1. Click on the Setup tab, then enter the SQS Queue URL, details of the access key and secret key which has access to write to the queue, and the region code where your queue is being hosted. A table of valid region codes are listed below.

We strongly recommend that you set up a unique IAM user account so that the access key and secret key that you use for integration with Raygun can be specifically restricted with access rights to the queues that you are going to publish to via Raygun.

  1. Check the Enabled checkbox to enable the integration and then click Save Changes.
  2. Done! Error notifications will now be delivered to your Amazon SQS queue.


Raygun will send notifications to you when the follow happens

  • A new error has occured (NewErrorOccurred)
  • Error reoccured after being resolved or ignored (ErrorReoccurred)
  • Error still occuring 1, 5, 10, 30, 60 minute/s later (OneMinuteFollowUp, FiveMinuteFollowUp, TenMinuteFollowUp, ThirtyMinuteFollowUp, HourlyFollowUp)

Supported Region Codes

USEast1 US East (N. Virginia)
USWest1 US West (N. California)
USWest2 US West (Oregon)
EUWest1 EU (Ireland)
SAEast1 South America (São Paulo)
APSoutheast1 Asia Pacific (Singapore)
APSoutheast2 Asia Pacific (Sydney)
APNortheast1 Asia Pacific (Tokyo)


JSON Payload

Payloads that are submitted to SQS will be in the following JSON format


  "CrashReportingNotification": {
    "NotificationInfo": {
      "Type": "NewErrorOccurred", // see Notifications section above for the valid range of codes supplied
      "Message": "A new error has been reported for Mindscape Website, the error was document.width is not a function"
    "Application": {
      "Name": "Mindscape Website",
      "Url": ""
    "Group": {
      "Title": "document.width is not a function",
      "Url": "",
      "FirstOccurredOn": "2015-09-06T02:14:48Z",
      "Count": 19530, // refers to the total number of occurrences of this error seen across all time
      "RecentRate": 123.45, // refers to the current rate of errors over the last minute
      "RecentTrend": "Increasing" // indicates if RecentRage is increasing or decreasing
    "Error": {
      "OccurredOn": "2016-08-10T22:14:07.8771382Z",
      "Url": "",
      "Details": { // this section contains a copy of the full payload data that was submitted to Raygun
        "Error": {
          "ClassName": "TypeError",
          "Message": "document.width is not a function",
          "StackTrace": [
              "LineNumber": 1,
              "ColumnNumber": 98012,
              "ClassName": "line 1, column 98012",
              "FileName": "",
              "MethodName": "at "
              "LineNumber": 1,
              "ColumnNumber": 254,
              "ClassName": "line 1, column 254",
              "FileName": "",
              "MethodName": "b"
              "LineNumber": 1,
              "ColumnNumber": 37420,
              "ClassName": "line 1, column 37420",
              "FileName": "",
              "MethodName": "dispatch"
              "LineNumber": 1,
              "ColumnNumber": 33299,
              "ClassName": "line 1, column 33299",
              "FileName": "",
              "MethodName": "i"
        "Environment": {
          "UtcOffset": -4,
          "Browser-Width": 1904,
          "Browser-Height": 924,
          "Screen-Width": 1920,
          "Screen-Height": 1080,
          "Color-Depth": 24,
          "Browser": "Mozilla",
          "Browser-Name": "Netscape",
          "Browser-Version": "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36",
          "Platform": "Win32"
        "Client": {
          "Name": "raygun-js",
          "Version": "2.1.0"
        "UserCustomData": {},
        "Tags": [],
        "Request": {
          "Url": "",
          "QueryString": {},
          "Headers": {
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36",
            "Referer": "",
            "Host": ""
        "Version": "",
        "User": {
          "Identifier": "testing-identifier",
          "IsAnonymous": true,
          "UUID": "testing-user"


Documentation missing?

If we don't have documentation about your desired topic, send us a message and we'll create it for you.