500 Error Trying to use Synthetics API

Getting 500 errors when running basic Synthetics API curl request.

  • Trying 52.206.185.80…
  • TCP_NODELAY set
  • Connected to synthetics.newrelic.com (52.206.185.80) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: /etc/ssl/certs
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
  • TLSv1.2 (IN), TLS handshake, Certificate (11):
  • TLSv1.2 (IN), TLS handshake, Server key exchange (12):
  • TLSv1.2 (IN), TLS handshake, Server finished (14):
  • TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
  • TLSv1.2 (OUT), TLS change cipher, Client hello (1):
  • TLSv1.2 (OUT), TLS handshake, Finished (20):
  • TLSv1.2 (IN), TLS handshake, Finished (20):
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
  • ALPN, server accepted to use h2
  • Server certificate:
  • subject: CN=*.newrelic.com
  • start date: Oct 28 00:00:00 2020 GMT
  • expire date: Nov 26 23:59:59 2021 GMT
  • subjectAltName: host “synthetics.newrelic.com” matched cert’s “*.newrelic.com”
  • issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
  • SSL certificate verify ok.
  • Using HTTP2, server supports multi-use
  • Connection state changed (HTTP/2 confirmed)
  • Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
  • Using Stream ID: 1 (easy handle 0x562c241aa580)

GET /synthetics/api/v1/monitors HTTP/2
Host: synthetics.newrelic.com
User-Agent: curl/7.58.0
Accept: /
Api-Key:

  • Connection state changed (MAX_CONCURRENT_STREAMS updated)!
    < HTTP/2 500
    HTTP/2 500
    < date: Thu, 18 Mar 2021 15:51:44 GMT
    date: Thu, 18 Mar 2021 15:51:44 GMT
    < content-type: application/json
    content-type: application/json
    < content-length: 110
    content-length: 110
    < proxied-by: Service Gateway
    proxied-by: Service Gateway
    < content-security-policy: frame-ancestors *.newrelic.com
    content-security-policy: frame-ancestors *.newrelic.com
    < strict-transport-security: max-age=31536000; includeSubdomains
    strict-transport-security: max-age=31536000; includeSubdomains
    < x-frame-options: Deny
    x-frame-options: Deny

From command:

curl -v ‘https://synthetics.newrelic.com/synthetics/api/v1/monitors’ -H “Api-Key:NRAK-NR7OK1AAGO6NXKMHT57R3X720VZ” -i

@obioma.anomnachi are you still experiencing this issue?