Invalid Namespace in Scripted REST service. REST API Explorer.

Ashok3
Kilo Contributor

I have created Scripted REST service using documentation available in the Service Demo website. But when i test using REST API Exporer. It shows "Invalid Namespace".. I don't know what i have missed here. Could anyone assist here please?

3 REPLIES 3

Ajaykumar1
Tera Guru

Hi Ashok,

Select the API namespace (from scripted REST service you created) in the Namespace field.

Regards,
Ajay

Hi Ajay,

Namespace has been already populated in the Scripted REST Service. But when test the Scripted REST web-service using REST API explorer,the namespace is not populated in the Namespace drop-down field.

Thanks and Regards,

V. Ashok

Hi Ashok,

Have you created any resource record under the Resources tab? If not then create one and test.

Refer ServiceNow Scripted REST API Example 1 for more information.

Regards,
Ajay