As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
POST to https://baas.kinvey.com/user/:appKey TIMEDOUT....
P
Pankaj Chawla
started a topic
about 8 years ago
HI
I tried user creation using the API Console as well as curl by posting to https://baas.kinvey.com/user/:appKey and it gives a weird timeout error. I am using app credentials with basic auth. It was working yesterday.
**Using CURL:**
curl -X POST -H "Authorization: Basic XXXXXXXXXXXXXXXXXXX" -d '{"username":"pankaj013@gmail.com","password":"test"}' https://baas.kinvey.com/user/kid_-yj4pCgcq
{"error":"BLTimeoutError","description":"The Business Logic script did not complete. Please contact support","debug":"The script was terminated due to timing constraints: took more than 2000ms to complete. Did you forget to call response.complete() or response.continue()?"}
"description": "The Business Logic script did not complete. Please contact support",
"debug": "The script was terminated due to timing constraints: took more than 2000ms to complete. Did you forget to call response.complete() or response.continue()?"
Please ignore this. There was an empty "onPreSave" collection hook added on the User collection. I am not sure how it got created but it was the culprit. Was struggling with this for last 24 hours. It might be a good idea to add response.complete() or response.continue() by default when empty hooks get generated or somehow have a better error reporting as to which BL script timeout. With the new dashboard its very easy to add a new collection hook by mistake with just two clicks :neutral:
Damien Bell
said
about 8 years ago
Thank you for the update Pankaj,
I was just about to reply to your other thread and it seems like you posted this just before my commute in.
I will pass along your suggestion and see if we can get it implemented.
Pankaj Chawla
I tried user creation using the API Console as well as curl by posting to https://baas.kinvey.com/user/:appKey and it gives a weird timeout error. I am using app credentials with basic auth. It was working yesterday.
**Using CURL:**
curl -X POST -H "Authorization: Basic XXXXXXXXXXXXXXXXXXX" -d '{"username":"pankaj013@gmail.com","password":"test"}' https://baas.kinvey.com/user/kid_-yj4pCgcq
{"error":"BLTimeoutError","description":"The Business Logic script did not complete. Please contact support","debug":"The script was terminated due to timing constraints: took more than 2000ms to complete. Did you forget to call response.complete() or response.continue()?"}
**Using API Console:**
POST /user/kid_-yj4pCgcq
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXX
X-Kinvey-API-Version: 3
{"username":"pankaj013@gmail.com","password":"test"}
================
HTTP/1.1 500 ERROR
Wed Feb 18 2015 16:40:44 GMT+0530 (IST)
{
"error": "BLTimeoutError",
"description": "The Business Logic script did not complete. Please contact support",
"debug": "The script was terminated due to timing constraints: took more than 2000ms to complete. Did you forget to call response.complete() or response.continue()?"
}