Internal Server Error 500443

ctmorrison private msg quote post Address this user
At 7AM today, I stopped getting info from a device. I made no changes at that time and have no idea if Particle made any changes. However, many other Particle devices are running fine.

Here's the output from a trace as well as the info from Particle's webhook monitor. I've obfuscated my API key and the Particle device ID.

Call Details:
Process Time:
.136 seconds
Client Address:
Client Attributes:
{org.restlet.http.version=1.1, org.restlet.http.headers=[[X-Forwarded-For: 999999999999999], [host:], [user-agent: ParticleBot/1.1 (], [content-type: application/x-www-form-urlencoded], [content-length: 0], [connection: keep-alive]], org.restlet.startTime=1487170302042}

Request Body:

Response Body:
    "errCode": "UNKNOWN_EXCEPTION",
    "success": false

From Particle's webhook monitor
Error Message
A detailed message about what went wrong
error status 500 from

The source event that triggered the webhook
"event": "gsthc",
"data": "{"k":"99999999999999","c":"sl2004","t":"73.2","h":"48.2","th":"74.0"}",
"published_at": "2017-02-15T14:58:09.977Z",
"coreid": "99999999999999999"

The HTTP request sent to the webhook url
PUT /api/feed?th=74.0&h=48.2&t=73.2&api_key=99999999999999&compid=sl2004 HTTP/1.1
X-Forwarded-For: 9999999999999999
User-Agent: ParticleBot/1.1 (
content-type: application/x-www-form-urlencoded
content-length: 0
Connection: keep-alive

The HTTP response received from the webhook url
HTTP/1.1 500 Internal Server Error
Date: Wed, 15 Feb 2017 14:58:40 GMT
Server: Apache
Accept-Ranges: bytes
Vary: Accept-Charset,Accept-Encoding,Accept-Language,Accept
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, PUT, POST, DELETE, OPTIONS
Access-Control-Allow-Headers: accept, origin, x-requested-with, content-type
Access-Control-Max-Age: 86400
Content-Length: 47
Connection: close
Content-Type: application/json;charset=UTF-8

Post 1 IP   flag post
ctmorrison private msg quote post Address this user
I just received this error:

API Exception Details:
Resource Path:
Resource Method: PUT
Client Address:
Client Attributes:
{org.restlet.http.version=1.1, org.restlet.http.headers=[[X-Forwarded-For: 999999999], [host:], [user-agent: ParticleBot/1.1 (], [content-type: application/x-www-form-urlencoded], [content-length: 0], [connection: keep-alive]], org.restlet.startTime=1487171531207}



Call Stack:
sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)

You are allowed one API exception notification per hour per authenticated session. This was the latest exception for this hour.
Post 2 IP   flag post
ctmorrison private msg quote post Address this user
Actually, it appears I started getting these null exceptions yesterday for some reason.
Post 3 IP   flag post
ctmorrison private msg quote post Address this user
For whatever reason, it appears the components were somehow corrupted. I deleted the components and re-created them (actually, copied one that appeared to be fine) and the new components are receiving data. Strange....
Post 4 IP   flag post
MikeMills private msg quote post Address this user
It does look like the underlying data structure in the store was corrupted. We've never seen that before. If you see it again, try and remember what you steps you did.
Post 5 IP   flag post
2728 5 5
Log in or sign up to compose a reply.