Usernames & Admin Access
You have made many API calls successfully in the past. Now that account holders with Admin level access in L2L can also create API Keys, bear in mind this extremely important rule:
Any Username associated with an API Key must be designated as an Admin level account.
Otherwise, generating an API call, even with a legitimate API Key, will not be successful.
If you are presented with error messages that include the word ' Zero ', making sure the Username has Admin level access is your first step in troubleshooting this error.
Usernames & Site Access
If an error is returned along these lines, "Invalid site access attempted", that means that the Username and Associated API Key do not have access to the site(s) for which you are trying to run the API call. In these instances, someone with Admin level access will need to modify the profile of this username. Or utilize a Username and API Key that has permissions for the site in question.