Re: NonExistentTag errors - ABOUT functionality

1 view
Skip to first unread message

Terry Jones

unread,
Dec 17, 2011, 12:20:47 PM12/17/11
to Nicolae Florin Petrovici, fluidd...@googlegroups.com
Hi Nicolae

> Not sure if this is a bug on your side.
> I try to do a PUT /about/aboutstr/namespace1/namespace2/tag
>
> and I get a non-existent tag although the object with aboutstr exists. The
> documentation says that it creates or updates the tag, so in my case it
> should create it.
>
> Wireshark details:
>
> PUT /about/random%5fstring44/tag_about HTTP/1.1
> (application/vnd.fluiddb.value+json)
> Payload:
> test_val

Can you have a look for any X-FluidDB-* headers in the response? It would
be great if your C++ library made those headers available on any error. You
should see both an id for the call and a header to tell you the name of the
tag that's apparently non-existent.

Thanks a lot, this is really useful. I've Cd'd the fluiddb-users group.

Terry

Terry Jones

unread,
Dec 17, 2011, 12:36:47 PM12/17/11
to Nicolae Florin Petrovici, fluidd...@googlegroups.com
Hi Nicolae (I added fluiddb-users back to the Cc)

> This is what I get from the headers. My library already does this.
>
> ---> HTTP/1.1 404 Not Found
> ---> Server: nginx/0.7.65
> ---> Date: Sat, 17 Dec 2011 17:23:45 GMT
> ---> Content-Type: text/html
> ---> Transfer-Encoding: chunked
> ---> Connection: keep-alive
> ---> X-Fluiddb-Path: tag_about
> ---> X-Fluiddb-Request-Id: API-9004-20111217-172345-731284
> ---> X-Fluiddb-Error-Class: TNonexistentTag

Ah, ok, I should have looked at the below wireshark details more
closely. There's no namespace in your request. You need to do a PUT onto
/about/whatever/nfpetrovici/tag_about

Terry

Reply all
Reply to author
Forward
0 new messages