WooCommerce Code Reference

Search results

WC_REST_WCCOM_Site_Installer_Errors

WCCOM Site Installer Errors Class

Stores data for errors, returned by installer API.

Table of Contents

NOT_AUTHENTICATED_CODE Not unauthenticated generic error 'not_authenticated'
NOT_AUTHENTICATED_MESSAGE 'Authentication required'
NOT_AUTHENTICATED_HTTP_CODE 401
NO_ACCESS_TOKEN_CODE No access token provided 'no_access_token'
NO_ACCESS_TOKEN_MESSAGE 'No access token provided'
NO_ACCESS_TOKEN_HTTP_CODE 400
NO_SIGNATURE_CODE No signature provided 'no_signature'
NO_SIGNATURE_MESSAGE 'No signature provided'
NO_SIGNATURE_HTTP_CODE 400
SITE_NOT_CONNECTED_CODE Site not connected to WooCommerce.com 'site_not_connnected'
SITE_NOT_CONNECTED_MESSAGE 'Site not connected to WooCommerce.com'
SITE_NOT_CONNECTED_HTTP_CODE 401
INVALID_TOKEN_CODE Provided access token is not valid 'invalid_token'
INVALID_TOKEN_MESSAGE 'Invalid access token provided'
INVALID_TOKEN_HTTP_CODE 401
REQUEST_VERIFICATION_FAILED_CODE Request verification by provided signature failed 'request_verification_failed'
REQUEST_VERIFICATION_FAILED_MESSAGE 'Request verification by signature failed'
REQUEST_VERIFICATION_FAILED_HTTP_CODE 400
USER_NOT_FOUND_CODE User doesn't exist 'user_not_found'
USER_NOT_FOUND_MESSAGE 'Token owning user not found'
USER_NOT_FOUND_HTTP_CODE 401
NO_PERMISSION_CODE No permissions error 'forbidden'
NO_PERMISSION_MESSAGE 'You do not have permission to install plugin or theme'
NO_PERMISSION_HTTP_CODE 403

Constants

Back to the top