{"_id":"59b6b1edbc195b003ca7a98f","category":{"_id":"59b6b1ecbc195b003ca7a989","version":"59b6b1ecbc195b003ca7a981","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-05-17T12:18:45.712Z","from_sync":false,"order":7,"slug":"encrypt-parameters","title":"Encrypt/Decrypt Parameters"},"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"version":{"_id":"59b6b1ecbc195b003ca7a981","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-09-11T15:55:24.925Z","releaseDate":"2017-09-11T15:55:24.925Z","categories":["59b6b1ecbc195b003ca7a982","59b6b1ecbc195b003ca7a983","59b6b1ecbc195b003ca7a984","59b6b1ecbc195b003ca7a985","59b6b1ecbc195b003ca7a986","59b6b1ecbc195b003ca7a987","59b6b1ecbc195b003ca7a988","59b6b1ecbc195b003ca7a989","59b6b1ecbc195b003ca7a98a","59b6b1ecbc195b003ca7a98b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.22.2 Release","version_clean":"8976.0.0-Tools","version":"8976-Tools"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-23T14:54:42.211Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":true,"order":34,"body":"The following errors can be returned in response to an Encrypt Parameters request.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"ENCRYPTION_PASSWORD_REQUIRED\",\n    \"0-1\": \"Encryption password is required.\",\n    \"2-0\": \"INVALID_PAGE_NAME\",\n    \"3-0\": \"INVALID_SHOPPER_ID\",\n    \"4-0\": \"INVALID_SKU_PARAMETER\",\n    \"5-0\": \"MISSING_ARGUMENTS\",\n    \"6-0\": \"MISSING_PARAMETER_KEY_OR_VALUE\",\n    \"7-0\": \"NO_SHOPPER_FOR_SUBSCRIPTION_ID\",\n    \"8-0\": \"PLAN_CHANGE_WITH_MORE_THAN_ONE_SKU\",\n    \"9-0\": \"SHOPPER_CREATING_SELLER_MISMATCH\",\n    \"10-0\": \"SHOPPER_ID_REQUIRED\",\n    \"11-0\": \"SHOPPER_NOT_FOUND\",\n    \"12-0\": \"SUBSCRIPTION_ID_REQUIRED\",\n    \"13-0\": \"SUBSCRIPTION_NOT_FOUND\",\n    \"14-0\": \"VALIDATION_GENERAL_FAILURE\",\n    \"2-1\": \"Page name is invalid or missing.\",\n    \"3-1\": \"The Shopper ID passed in the request is invalid.\",\n    \"4-1\": \"Invalid SKU parameter.\",\n    \"5-1\": \"Arguments are missing in the request.\",\n    \"6-1\": \"Missing parameter key or value.\",\n    \"7-1\": \"Shopper not found for subscription ID.\",\n    \"8-1\": \"Plan change with more than one SKU.\",\n    \"9-1\": \"Seller and shopper creating seller mismatch for subscription.\",\n    \"10-1\": \"Shopper ID is required.\",\n    \"11-1\": \"The Shopper ID passed in the request was not found.\",\n    \"12-1\": \"Subscription ID is required.\",\n    \"13-1\": \"The subscription ID passed in the request was not found.\",\n    \"14-1\": \"The resource representation passed in the request has violated validation rules.\",\n    \"1-1\": \"Expiration parameter is required.\",\n    \"1-0\": \"EXPIRATION_PARAMETER_REQUIRED\"\n  },\n  \"cols\": 2,\n  \"rows\": 15\n}\n[/block]","excerpt":"","slug":"encrypt-errors","type":"basic","title":"Encrypt Errors"}

The following errors can be returned in response to an Encrypt Parameters request.

Name
Description

ENCRYPTION_PASSWORD_REQUIRED

Encryption password is required.

EXPIRATION_PARAMETER_REQUIRED

Expiration parameter is required.

INVALID_PAGE_NAME

Page name is invalid or missing.

INVALID_SHOPPER_ID

The Shopper ID passed in the request is invalid.

INVALID_SKU_PARAMETER

Invalid SKU parameter.

MISSING_ARGUMENTS

Arguments are missing in the request.

MISSING_PARAMETER_KEY_OR_VALUE

Missing parameter key or value.

NO_SHOPPER_FOR_SUBSCRIPTION_ID

Shopper not found for subscription ID.

PLAN_CHANGE_WITH_MORE_THAN_ONE_SKU

Plan change with more than one SKU.

SHOPPER_CREATING_SELLER_MISMATCH

Seller and shopper creating seller mismatch for subscription.

SHOPPER_ID_REQUIRED

Shopper ID is required.

SHOPPER_NOT_FOUND

The Shopper ID passed in the request was not found.

SUBSCRIPTION_ID_REQUIRED

Subscription ID is required.

SUBSCRIPTION_NOT_FOUND

The subscription ID passed in the request was not found.

VALIDATION_GENERAL_FAILURE

The resource representation passed in the request has violated validation rules.