charlestek (6) [Avatar] Offline
#1
I'm trying to use the Amazon TagLookup Service detailed on page 367. I can't seem to find any good documentation from Amazon, does someone have pointers to docs?

I got my Access Key from amazon, but when I submit http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId={MyAccessKey}&Operation=TagLookup&ResponseGroup=Tags,Small&Version=2007-07-16&TagName=asp.net&Count=20

I get the following response:

<?xml version="1.0" ?>
- <TagLookupErrorResponse xmlns="http://ecs.amazonaws.com/doc/2007-07-16/">
- <Error>
<Code>MissingParameter</Code>
<Message>The request must contain the parameter Signature.</Message>
</Error>
<RequestID>d5257695-2d9a-48cc-892f-32ff01daf0cd</RequestID>
</TagLookupErrorResponse>
fabrice.marguerie (224) [Avatar] Offline
#2
Re: Amazon TagLookup Rest Service
Hello,

I just realize that I haven't been receiving notifications from Manning's forum for a while.
It looks like I have a few threads to catch up.

I haven't had any time to update the sample source code, but Amazon has changed the requirements for their API some time ago.
Signed requests are now required. That's why you get an error about a missing Signature parameter.

The following page should help you: http://aws.amazon.com/code/2480

Regards,
Fabrice
fabrice.marguerie (224) [Avatar] Offline
#3
Re: Amazon TagLookup Rest Service
Actually, I documented this in the errata a while ago but had forgotten about it.
See "Chapter 10, pages 367, 369, 371 and 373" on http://linqinaction.net/blogs/main/pages/linq-in-action-errata.aspx

The source code is updated.

There I point to http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?RequestAuthenticationArticle.html

Fabrice