We have a REST API instance running on port 9042 on our DEV cluster and it
works fine.

When this instance was created, a new modules databases called
*9042_imagechallenge-rest-modules* was created for it by ML.

I'm trying to avoid minimize the number of modules databases we have, so I :

1. Copied the code from *9042_**imagechallenge**-rest-modules* to a new
directory called "/*imagechallenge**_rest*" in our Modules database.

2. Reconfigured our *9042-**imagechallenge**-rest* app service to use */*
*imagechallenge**_rest* as its root and Modules as its modules database.

After step 2, I visited :

http://marklogic-dev.mycompany.com:9042/v1/search?q=published:true&options=image_challenge

and now I'm getting this error :

<error-response xmlns="http://marklogic.com/xdmp/error";>
<status-code>400</status-code>
<status>Bad Request</status>
<message-code>REST-INVALIDPARAM</message-code>
<message>REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: No configured
options: *image_challenge*</message>
</error-response>



I checked the /*imagechallenge**_rest *directory and this "missing" option
file is indeed under :

/imagechallenge_rest/Default/9042-imagechallenge-rest/rest-api/options .


What could I be missing ?

Regards,
Danny
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to