question

newuser-d5d1d25d-e160-4fb4-91a5-0b5c8aec9a95 avatar image

x-amzn-ErrorType: InvalidParameterException

We've set up the RVSSandbox,all work fine.

but when i use https://appstore-sdk.amazon.com

return:

HTTP/1.1 400 Bad Request

Server: Server

Date: Thu, 20 Oct 2016 08:04:00 GMT

Content-Type: application/json

Content-Length: 16

Connection: keep-alive

x-amzn-RequestId: c228a72d-969b-11e6-8d08-33629ab92f79

x-amzn-ErrorType: InvalidParameterException:http://internal.amazon.com/coral/com.amazon.mas.iap.verification/ Vary: Accept-Encoding,User-Agent

{"message":null}

iap
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

WangChao@Amazon avatar image
WangChao@Amazon answered

Hello,

Sorry for the late reply.

It looks like there are some errors in your RVS request. Could you please post your request here or through Contact Us? Ideally include this forum post's URL for the context. Thanks!

For more information about RVS, please check https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/verifying-receipts-in-iap-2.0

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jordan Vichev avatar image
Jordan Vichev answered

I'm having the same issue. When I test in sandbox - everything works fine. When I change the server to: https://appstore-sdk.amazon.com the response is {"message":null"} Could the problem be because my inapp items are not submitted? The strange thing is that if I change the receipt string, the amazon response also changes to: "{"message":"Receipt info cannot be found"}"

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Levon@Amazon avatar image
Levon@Amazon answered

Hi Jordan,

Thanks for posting! Yes, as a very first step, all of your IAP items must be submitted to Dev Portal, and also all of them must have a status of "Live" (any other status, even "Approved" means that they are still in draft state, and are not accessible to your app / service). Thanks!

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.