Forum Stats

  • 3,815,264 Users
  • 2,258,987 Discussions
  • 7,893,019 Comments

Discussions

Running a node js script and getting an error - This feature is not available on this site

3513589
3513589 Member Posts: 4
edited Aug 3, 2017 12:33AM in Java Cloud Service

I am running a node js script from my desktop, getting the below error.

:\node js>node sample.js

< partial output>

       _headers: [Object],

       _headerNames: [Object],

       agent: [Object],

       socketPath: undefined,

       method: 'POST',

       path: '/network/v1/privategateway/',

       parser: null,

       res: [Circular] },

    ntick: true,

    response: [Circular],

    originalHost: 'api-z65.compute.us6.oraclecloud.com',

    originalHostHeaderName: 'host',

    responseContent: [Circular],

    _destdata: true,

    _ended: true,

    _callbackCalled: true },

toJSON: [Function: responseToJSON],

caseless:

  { dict:

     { date: 'Tue, 01 Aug 2017 09:37:14 GMT',

       server: 'nginx',

       'content-type': 'application/oracle-compute-v3+json',

       'content-length': '58',

       'content-language': 'en,en-us',

       'x-oracle-compute-call-id': 'eabcdb62-c9d7-49ec-97ce-995992a3fea6'

       'set-cookie': [Object],

       connection: 'close' } },

read: [Function],

body: '{"message": "This feature is not available on this site."}' }

409

Regards,

Answers

This discussion has been closed.