Getting "invalid api credentials" using the batch api

By mwhitenack

I'm getting a strange response when sending requests to the batch api, namely an invalid api credentials response.

a sample request submitted looks like:

http://freeapi.daylife.com/phprest/batch/1.0/parallel?accesskey=[snipped]&request=%2Fpublicapi%2F4.6%2Fsearch_getRelatedArticles%3Fquery%3Dbarack+obama%26accesskey%3D[snipped]%26signature%3D491ff43672b99cc5099dc8e3f5187fc2limit%3D1%26request_id%3D6

I'm certain that the access key and shared secret I'm using are correct, so I'm confused as to what's actually going on. Do I need a different set of credentials to use the batch api or am I formatting my request improperly?

Filed Under:

I'm experiencing the same

I'm experiencing the same issue. the response I get back is really odd. The initial request is authenticated but the batch request all fail with Invalid creds. I have a mail out to the devs. They responded saying this is weird but I haven't had any further correspondance with them lately. I will try again tomorrow and update the thread. Brian Walters

I noticed similar

I noticed similar when I used a query value or in my case a name value that used the + symbol. is it that the + is getting uriEncoded as %2B ?