{"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":"5ecfffa62b00c0001886623b","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Encrypt/Decrypt Parameters","slug":"encrypt-parameters","order":6,"from_sync":false,"reference":true,"_id":"5ecfffa62b00c00018866224","version":"5ecfffa62b00c0001886626b","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.34.0 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5ecfffa62b00c0001886621c","5ecfffa62b00c0001886621d","5ecfffa62b00c0001886621e","5ecfffa62b00c0001886621f","5ecfffa62b00c00018866220","5ecfffa62b00c00018866221","5ecfffa62b00c00018866222","5ecfffa62b00c00018866223","5ecfffa62b00c00018866224","5ecfffa62b00c00018866225","5ecfffa62b00c00018866226","5ecfffa62b00c00018866227","5b34c737e0dca2000311de6a","5ecfffa62b00c00018866228","5ecfffa62b00c00018866229","5ecfffa62b00c0001886622a"],"_id":"5ecfffa62b00c0001886626b","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5e5d3a6a50180a007203a5d0","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.