Seller Forums
Sign in
Sign in
imgSign in
imgSign in
user profile
Seller_gtNMA10NaJ1Co

SP-API Sandbox: "InvalidInput" Error When Accessing Single Order

I'm encountering an "InvalidInput" error when trying to retrieve a single order from the SP-API sandbox environment. The API returns "Could not match input arguments" despite using what appears to be the correct endpoint structure.

API Call Details

Endpoint:

GET https://sandbox.sellingpartnerapi-na.amazon.com/orders/v0/orders/902-1845936-5435065

Request-Headers:

x-amz-access-token: [valid token]

Content-Type: application/json

Response:

json{

"errors": [

{

"code": "InvalidInput",

"message": "Could not match input arguments",

"details": ""

}

]

}

What I've Tried

Verified the order ID format is in the required 3-7-7 format

Removed quotation marks around the order ID

Used a fresh access token with appropriate permissions

Double-checked that the endpoint structure matches the documentation

Questions :

Are there any additional required parameters for the /orders/v0/orders/{orderId} endpoint in the sandbox environment?

Is the marketplaceIds parameter required for this specific endpoint? Documentation isn't clear on this point.

Are there specific test order IDs that must be used in the sandbox environment?

Are there any known differences between how the production endpoint and sandbox endpoint handle the getOrder operation?

Any guidance would be greatly appreciated as I'm trying to complete my SP-API integration testing.

Thanks in advance!

17 views
0 replies
Tags:Order defects
00
Reply
user profile
Seller_gtNMA10NaJ1Co

SP-API Sandbox: "InvalidInput" Error When Accessing Single Order

I'm encountering an "InvalidInput" error when trying to retrieve a single order from the SP-API sandbox environment. The API returns "Could not match input arguments" despite using what appears to be the correct endpoint structure.

API Call Details

Endpoint:

GET https://sandbox.sellingpartnerapi-na.amazon.com/orders/v0/orders/902-1845936-5435065

Request-Headers:

x-amz-access-token: [valid token]

Content-Type: application/json

Response:

json{

"errors": [

{

"code": "InvalidInput",

"message": "Could not match input arguments",

"details": ""

}

]

}

What I've Tried

Verified the order ID format is in the required 3-7-7 format

Removed quotation marks around the order ID

Used a fresh access token with appropriate permissions

Double-checked that the endpoint structure matches the documentation

Questions :

Are there any additional required parameters for the /orders/v0/orders/{orderId} endpoint in the sandbox environment?

Is the marketplaceIds parameter required for this specific endpoint? Documentation isn't clear on this point.

Are there specific test order IDs that must be used in the sandbox environment?

Are there any known differences between how the production endpoint and sandbox endpoint handle the getOrder operation?

Any guidance would be greatly appreciated as I'm trying to complete my SP-API integration testing.

Thanks in advance!

Tags:Order defects
00
17 views
0 replies
Reply
0 replies
Follow this discussion to be notified about new activity
user profile
Seller_gtNMA10NaJ1Co

SP-API Sandbox: "InvalidInput" Error When Accessing Single Order

I'm encountering an "InvalidInput" error when trying to retrieve a single order from the SP-API sandbox environment. The API returns "Could not match input arguments" despite using what appears to be the correct endpoint structure.

API Call Details

Endpoint:

GET https://sandbox.sellingpartnerapi-na.amazon.com/orders/v0/orders/902-1845936-5435065

Request-Headers:

x-amz-access-token: [valid token]

Content-Type: application/json

Response:

json{

"errors": [

{

"code": "InvalidInput",

"message": "Could not match input arguments",

"details": ""

}

]

}

What I've Tried

Verified the order ID format is in the required 3-7-7 format

Removed quotation marks around the order ID

Used a fresh access token with appropriate permissions

Double-checked that the endpoint structure matches the documentation

Questions :

Are there any additional required parameters for the /orders/v0/orders/{orderId} endpoint in the sandbox environment?

Is the marketplaceIds parameter required for this specific endpoint? Documentation isn't clear on this point.

Are there specific test order IDs that must be used in the sandbox environment?

Are there any known differences between how the production endpoint and sandbox endpoint handle the getOrder operation?

Any guidance would be greatly appreciated as I'm trying to complete my SP-API integration testing.

Thanks in advance!

17 views
0 replies
Tags:Order defects
00
Reply
user profile
Seller_gtNMA10NaJ1Co

SP-API Sandbox: "InvalidInput" Error When Accessing Single Order

I'm encountering an "InvalidInput" error when trying to retrieve a single order from the SP-API sandbox environment. The API returns "Could not match input arguments" despite using what appears to be the correct endpoint structure.

API Call Details

Endpoint:

GET https://sandbox.sellingpartnerapi-na.amazon.com/orders/v0/orders/902-1845936-5435065

Request-Headers:

x-amz-access-token: [valid token]

Content-Type: application/json

Response:

json{

"errors": [

{

"code": "InvalidInput",

"message": "Could not match input arguments",

"details": ""

}

]

}

What I've Tried

Verified the order ID format is in the required 3-7-7 format

Removed quotation marks around the order ID

Used a fresh access token with appropriate permissions

Double-checked that the endpoint structure matches the documentation

Questions :

Are there any additional required parameters for the /orders/v0/orders/{orderId} endpoint in the sandbox environment?

Is the marketplaceIds parameter required for this specific endpoint? Documentation isn't clear on this point.

Are there specific test order IDs that must be used in the sandbox environment?

Are there any known differences between how the production endpoint and sandbox endpoint handle the getOrder operation?

Any guidance would be greatly appreciated as I'm trying to complete my SP-API integration testing.

Thanks in advance!

Tags:Order defects
00
17 views
0 replies
Reply
user profile

SP-API Sandbox: "InvalidInput" Error When Accessing Single Order

by Seller_gtNMA10NaJ1Co

I'm encountering an "InvalidInput" error when trying to retrieve a single order from the SP-API sandbox environment. The API returns "Could not match input arguments" despite using what appears to be the correct endpoint structure.

API Call Details

Endpoint:

GET https://sandbox.sellingpartnerapi-na.amazon.com/orders/v0/orders/902-1845936-5435065

Request-Headers:

x-amz-access-token: [valid token]

Content-Type: application/json

Response:

json{

"errors": [

{

"code": "InvalidInput",

"message": "Could not match input arguments",

"details": ""

}

]

}

What I've Tried

Verified the order ID format is in the required 3-7-7 format

Removed quotation marks around the order ID

Used a fresh access token with appropriate permissions

Double-checked that the endpoint structure matches the documentation

Questions :

Are there any additional required parameters for the /orders/v0/orders/{orderId} endpoint in the sandbox environment?

Is the marketplaceIds parameter required for this specific endpoint? Documentation isn't clear on this point.

Are there specific test order IDs that must be used in the sandbox environment?

Are there any known differences between how the production endpoint and sandbox endpoint handle the getOrder operation?

Any guidance would be greatly appreciated as I'm trying to complete my SP-API integration testing.

Thanks in advance!

Tags:Order defects
00
17 views
0 replies
Reply
0 replies
0 replies
Quick filters
Sort by
Follow this discussion to be notified about new activity
Follow this discussion to be notified about new activity