Once setup, if you change environment (but keeping the same key) you will get the following error.
{
error_message: 'Failed to fetch items. Please try again with valid parameters.',
error_code: 141,
errors: { access_token: [ 'environment or access token is not matched.' ] }
}
Looks like we just need to include the environment + api_key in the cache key.
Once setup, if you change environment (but keeping the same key) you will get the following error.
Looks like we just need to include the environment + api_key in the cache key.