{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Encrypt Errors","type":"basic","slug":"encrypt-errors","excerpt":"","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]","updates":[],"order":2,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5f4d276c4ff932005f3e3b53","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Encrypt/Decrypt Parameters","slug":"encrypt-parameters","order":7,"from_sync":false,"reference":true,"_id":"5f4d276b4ff932005f3e3b3b","version":"5f4d276c4ff932005f3e3b86","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2016-05-17T12:18:45.712Z","__v":0},"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"version":{"version":"8976-Tools","version_clean":"8976.0.0-Tools","codename":"3.35 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5f4d276b4ff932005f3e3b33","5f4d276b4ff932005f3e3b34","5f4d276b4ff932005f3e3b35","5f4d276b4ff932005f3e3b36","5f4d276b4ff932005f3e3b37","5f4d276b4ff932005f3e3b38","5f4d276b4ff932005f3e3b39","5f4d276b4ff932005f3e3b3a","5f4d276b4ff932005f3e3b3b","5f4d276b4ff932005f3e3b3c","5f4d276b4ff932005f3e3b3d","5f4d276b4ff932005f3e3b3e","5b34c737e0dca2000311de6a","5f4d276b4ff932005f3e3b3f","5f4d276b4ff932005f3e3b40","5f4d276b4ff932005f3e3b41","5f4d276b4ff932005f3e3b42","5f4d2af1ca14ec003918818c","5f4e66c5c9098e01d05608cf"],"_id":"5f4d276c4ff932005f3e3b86","project":"57336fd5a6a9c40e00e13a0b","__v":2,"forked_from":"5f076ef5f118570458067d0f","createdAt":"2018-04-23T15:17:35.680Z","releaseDate":"2018-04-23T15:17:35.680Z"},"createdAt":"2016-06-23T14:54:42.211Z","githubsync":"","__v":0}

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.