-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cryptic error message on update #94
Comments
That oilsands service is no longer active. Also, Can you provide more info on what the goal is here? What is the key for the entry? Are you trying to update something to no longer use |
Sorry, that was probably a bad example. Here is another service endpoint that is giving the same error even though it's live:
This is the key: 05870f11-a52a-4bf4-bc15-910fd0b8a1a3 |
Can you try with the correct
I'd do it myself but not sure if that's your prod rcs... |
Not sure what the correct
|
The The json you are registering is for RCS. The RCS Service Contracts provide a guide on how input payloads should be formatted. If any of the docs are not clear, please let us know so we can update them. Did the snippet I provided solve the issue? |
No the snippet still didn't work. |
How do I get the actual RCS registration and not the RAMP registration? |
I think you should be able to update just one attribute (e.g. the service_url) without having to provide additional ones (e.g. service_type). Since there doesn't seem to be a way to get at the service_type for a registration it's impossible to know what should be provided. |
Hi Joost, The UPDATE endpoint would enable you to change the service_url on a service, something like this:
Unfortunately the UPDATE endpoint, while making it mandatory to provide a service_type, does not let you switch between service types - this would require a new registration or overwrite. So if you want to go from esriDynamic to esriFeature, for example, you will need to register again, not use UPDATE. |
So the issue is that I just want to update the service endpoint URI but I don't know what the service_type is. Any way to get that out of the API? |
service_type is mandatory, but also is ignored, so you can put any service type in there, it won't matter but will still update the URL. esriDynamic is what it is already registered under: http://167.40.124.18/v2/doc/en/05870f11-a52a-4bf4-bc15-910fd0b8a1a3 |
There is no way to get the original request out of the API. If you go in debug mode and export the couchDB, you can see it in the records (so I'm told). We've opened an issue to look into making that parameter optional per your suggestion. We also reviewed the documentation around the |
Okay, so with the service_type being ignored I can update but some services are coming back with certificate errors:
Using RCS V2 on that server. |
We made some updates to better support services that had not-so-friendly certificates. If you want to try updating to |
Thanks @james-rae. Will try. |
Trying to update an existing registration as follows:
I get the following error:
How can I get this record to update?
The text was updated successfully, but these errors were encountered: