Hooks - “Unauthorized extensibility point”

Hi there, I have a Post User Registration created but I’m not able to get it working, it always returns

{ “message”: “Unauthorized
extensibility point”, “statusCode”:
500, “stack”: "Error: Unauthorized
extensibility point\n at
Object.is_authorized… }

I have re-created the hook several times without any luck, I also see this messages in the logs:

1:56:30 PM: requested role for stage development
1:56:30 PM: finished webtask request 1491393390546.984659 with HTTP 200 in 275ms
1:56:36 PM: new webtask request 1491393396901.456320
1:56:36 PM: finished webtask request 1491393396901.456320 with HTTP 200 in 15ms
1:56:36 PM: requested role for stage - release

My current code is:

module.exports = function (user, context, cb) {

Can you please help?
PS: I’ve tried the run button and doing an actual registration both cases having the same results.

This is a known issue in the Hooks editor. We are currently working on a fix, however the hooks should still execute as expected. You can test it by using the Real-time Webtask Logs extension, and performing a sign up. I tested using your script, and see the following in my logs.


Is this normal?, https://screenshot.net/63e36iz

Can you try logging out, clearing cookies, and re-logging in?

I’m also receiving this error with the exact code?

Does the Webtask Editor not work?

Error is as follows, on both registration and pressing the run button:

“message”: “Unauthorized extensibility point”,
“statusCode”: 500,
“stack”: “Error: Unauthorized extensibility point\n at Object.is_authorized (/data/sandbox/node_modules/auth0-ext-compilers/lib/authorization.js:15:23)\n at userRegistrationHandler (/data/sandbox/node_modules/auth0-ext-compilers/lib/compilers/user-registration.js:9:18)\n at /data/sandbox/node_modules/auth0-ext-compilers/lib/adapter.js:90:20\n at finish (/data/sandbox/node_modules/auth0-ext-compilers/node_modules/wreck/lib/index.js:351:20)\n at wrapped (/data/sandbox/node_modules/auth0-ext-compilers/node_modules/wreck/node_modules/hoek/lib/index.js:871:20)\n at onReaderFinish (/data/sandbox/node_modules/auth0-ext-compilers/node_modules/wreck/lib/index.js:415:16)\n at g (events.js:260:16)\n at emitNone (events.js:72:20)\n at emit (events.js:166:7)\n at finishMaybe (_stream_writable.js:481:14)”